aboutsummaryrefslogtreecommitdiff
path: root/www/mod_ruby
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2006-03-31 14:34:55 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2006-03-31 14:34:55 +0000
commit3c059cec83dd852c630ec7a68617f98c049e38c5 (patch)
treef8f556760725182ab490783dabb4472f37e00803 /www/mod_ruby
parent42db45aa1828003e40c89cf141852b1e4b68bd56 (diff)
downloadports-3c059cec83dd852c630ec7a68617f98c049e38c5.tar.gz
ports-3c059cec83dd852c630ec7a68617f98c049e38c5.zip
Notes
Diffstat (limited to 'www/mod_ruby')
-rw-r--r--www/mod_ruby/Makefile6
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