diff options
author | Stanislav Sedov <stas@FreeBSD.org> | 2006-11-14 20:49:52 +0000 |
---|---|---|
committer | Stanislav Sedov <stas@FreeBSD.org> | 2006-11-14 20:49:52 +0000 |
commit | 43baec47318105c56a3e29776fcb6e44a8231d27 (patch) | |
tree | 0ff2747f34a75faa6adb164819f8d6586d925d6b /lang/ruby18 | |
parent | 38c9d655280e52b38e0f8d9e79dfa0a649cf02c4 (diff) |
Notes
Diffstat (limited to 'lang/ruby18')
-rw-r--r-- | lang/ruby18/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lang/ruby18/Makefile b/lang/ruby18/Makefile index dc13546e8cbd..25d24c70c8dd 100644 --- a/lang/ruby18/Makefile +++ b/lang/ruby18/Makefile @@ -42,6 +42,8 @@ OPTIONS= PTHREADS "Enable pthreads support (may break some apps)" off \ PKGNAMESUFFIX= #empty .if defined(WITH_PTHREADS) CONFIGURE_ARGS+=--enable-pthread +CFLAGS+= ${PTHREAD_CFLAGS} +LDFLAGS+= ${PTHREAD_LIBS} PKGNAMESUFFIX:= ${PKGNAMESUFFIX}+pthreads .else CONFIGURE_ARGS+=--disable-pthread @@ -81,8 +83,8 @@ EXTRA_PATCHES= ${PATCHDIR}/extrapatch-eval.c CONFIGURE_ARGS+= --enable-ipv6 .endif -CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \ - LIBS="${LIBS} ${PTHREAD_LIBS}" +CONFIGURE_ENV= CFLAGS="${CFLAGS}" \ + LIBS="${LDFLAGS}" .if ${RUBY_VER} == ${RUBY_DEFAULT_VER} MLINKS= ${RUBY_NAME}.1 ruby.1 |