aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2006-03-31 22:34:55 +0800
committerdinoex <dinoex@FreeBSD.org>2006-03-31 22:34:55 +0800
commitccff7e073dae1f014da83b4065525b369cb127da (patch)
tree79a0561b03f38db2291f3b3ec27927e1cd42e288 /www
parent3299cdbb8791d144b1d522479df82721295412cd (diff)
downloadfreebsd-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/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
-077-23/+88 * - use empty() to check if an option is not setlwhsu2012-06-281-2/+2 * - Move ats source to FETCH_DEPENDS to avoid fetch failure in slave portslwhsu2012-06-142-37/+22 * - Update to 0.2.7scheidell2012-05-29