diff options
author | dinoex <dinoex@FreeBSD.org> | 2006-03-31 22:34:55 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2006-03-31 22:34:55 +0800 |
commit | ccff7e073dae1f014da83b4065525b369cb127da (patch) | |
tree | 79a0561b03f38db2291f3b3ec27927e1cd42e288 /www | |
parent | 3299cdbb8791d144b1d522479df82721295412cd (diff) | |
download | freebsd-ports-gnome-ccff7e073dae1f014da83b4065525b369cb127da.tar.gz freebsd-ports-gnome-ccff7e073dae1f014da83b4065525b369cb127da.tar.zst freebsd-ports-gnome-ccff7e073dae1f014da83b4065525b369cb127da.zip |
- Disable pthread support by default
- add WITH_PTHREADS knob.
- Bump PORTREVISION.
Diffstat (limited to 'www')
-rw-r--r-- | www/mod_ruby/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/www/mod_ruby/Makefile b/www/mod_ruby/Makefile index edc3139e9d84..5aba166cd70d 100644 --- a/www/mod_ruby/Makefile +++ b/www/mod_ruby/Makefile @@ -7,6 +7,7 @@ PORTNAME= mod_ruby PORTVERSION= 1.2.5 +PORTREVISION= 1 CATEGORIES= www ruby MASTER_SITES= http://www.modruby.net/archive/ DIST_SUBDIR= ruby @@ -40,14 +41,13 @@ CONFIGURE_ARGS+= --with-apr-includes="`${LOCALBASE}/bin/apr-1-config --includedi do-configure: @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} ${RUBY_FLAGS} configure.rb ${CONFIGURE_ARGS} -.if !defined(WITHOUT_PTHREADS) +.if !defined(WITHOUT_PTHREADS) && defined(WITH_PTHREADS) # dirty hack to force mod_ruby.so linked with lpthread.so, otherwise unresolved # symbols happen .if ${OSVERSION} >= 502102 @${REINPLACE_CMD} -e 's|-pthread|-pthread -lpthread|' ${WRKSRC}/Makefile .endif -.else -PKGNAMESUFFIX= -nopthreads +PKGNAMESUFFIX= -pthreads .endif post-install: doc-install |