summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/apache2/Makefile12
-rw-r--r--www/apache20/Makefile12
-rw-r--r--www/apache21/Makefile12
-rw-r--r--www/apache22/Makefile12
4 files changed, 32 insertions, 16 deletions
diff --git a/www/apache2/Makefile b/www/apache2/Makefile
index 42fb552410d9..3d83bc636c3a 100644
--- a/www/apache2/Makefile
+++ b/www/apache2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= apache
PORTVERSION= 2.0.35
+PORTREVISION= 1
CATEGORIES= www ipv6
MASTER_SITES= http://www.apache.org/dist/httpd/ \
http://apache.mirrorcentral.com/dist/httpd/ \
@@ -46,7 +47,7 @@ RC_SUB= -e 's,@@PREFIX@@,${PREFIX},g'
MAKE_ENV+= NOPORTDOCS=YES
.endif
-.if !defined(WITHOUT_THREADS)
+.if defined(WITH_THREADS)
CONFIGURE_ARGS+= --enable-threads
.endif
@@ -73,7 +74,7 @@ PLIST_SUB+= SUEXEC=""
PLIST_SUB+= SUEXEC="@comment "
.endif
-.if !defined(WITHOUT_CACHE) && !defined(WITHOUT_THREADS)
+.if !defined(WITHOUT_CACHE) && defined(WITH_THREADS)
SHARED_MODULES+= cache file-cache disk-cache mem_cache
PLIST_SUB+= MODCACHE=""
.else
@@ -89,7 +90,7 @@ PLIST_SUB+= MODPROXY="@comment "
.if ${WITH_MPM} != "prefork"
PKGNAMESUFFIX= -${WITH_MPM}
-.if defined(WITHOUT_THREADS)
+.if !defined(WITH_THREADS)
IGNORE= "requires threads for ${WITH_MPM} mpm"
.endif
.endif
@@ -112,8 +113,11 @@ post-patch:
@${FIND} ${WRKSRC} -name "*.orig" -exec ${RM} -f {} \;
@${SED} ${RC_SUB} ${FILESDIR}/apache.sh >${WRKDIR}/apache2.sh
.if ${OSVERSION} >= 500032
+.for ltfile in srclib/pcre/ltmain.sh srclib/apr/build/ltmain.sh \
+ srclib/apr-util/xml/expat/conftools/ltmain.sh
@${PERL} -pi.orig -e 's|expr|expr --|' \
- ${WRKSRC}/srclib/apr/build/ltmain.sh
+ ${WRKSRC}/${ltfile}
+.endfor
.endif
pre-install:
diff --git a/www/apache20/Makefile b/www/apache20/Makefile
index 42fb552410d9..3d83bc636c3a 100644
--- a/www/apache20/Makefile
+++ b/www/apache20/Makefile
@@ -7,6 +7,7 @@
PORTNAME= apache
PORTVERSION= 2.0.35
+PORTREVISION= 1
CATEGORIES= www ipv6
MASTER_SITES= http://www.apache.org/dist/httpd/ \
http://apache.mirrorcentral.com/dist/httpd/ \
@@ -46,7 +47,7 @@ RC_SUB= -e 's,@@PREFIX@@,${PREFIX},g'
MAKE_ENV+= NOPORTDOCS=YES
.endif
-.if !defined(WITHOUT_THREADS)
+.if defined(WITH_THREADS)
CONFIGURE_ARGS+= --enable-threads
.endif
@@ -73,7 +74,7 @@ PLIST_SUB+= SUEXEC=""
PLIST_SUB+= SUEXEC="@comment "
.endif
-.if !defined(WITHOUT_CACHE) && !defined(WITHOUT_THREADS)
+.if !defined(WITHOUT_CACHE) && defined(WITH_THREADS)
SHARED_MODULES+= cache file-cache disk-cache mem_cache
PLIST_SUB+= MODCACHE=""
.else
@@ -89,7 +90,7 @@ PLIST_SUB+= MODPROXY="@comment "
.if ${WITH_MPM} != "prefork"
PKGNAMESUFFIX= -${WITH_MPM}
-.if defined(WITHOUT_THREADS)
+.if !defined(WITH_THREADS)
IGNORE= "requires threads for ${WITH_MPM} mpm"
.endif
.endif
@@ -112,8 +113,11 @@ post-patch:
@${FIND} ${WRKSRC} -name "*.orig" -exec ${RM} -f {} \;
@${SED} ${RC_SUB} ${FILESDIR}/apache.sh >${WRKDIR}/apache2.sh
.if ${OSVERSION} >= 500032
+.for ltfile in srclib/pcre/ltmain.sh srclib/apr/build/ltmain.sh \
+ srclib/apr-util/xml/expat/conftools/ltmain.sh
@${PERL} -pi.orig -e 's|expr|expr --|' \
- ${WRKSRC}/srclib/apr/build/ltmain.sh
+ ${WRKSRC}/${ltfile}
+.endfor
.endif
pre-install:
diff --git a/www/apache21/Makefile b/www/apache21/Makefile
index 42fb552410d9..3d83bc636c3a 100644
--- a/www/apache21/Makefile
+++ b/www/apache21/Makefile
@@ -7,6 +7,7 @@
PORTNAME= apache
PORTVERSION= 2.0.35
+PORTREVISION= 1
CATEGORIES= www ipv6
MASTER_SITES= http://www.apache.org/dist/httpd/ \
http://apache.mirrorcentral.com/dist/httpd/ \
@@ -46,7 +47,7 @@ RC_SUB= -e 's,@@PREFIX@@,${PREFIX},g'
MAKE_ENV+= NOPORTDOCS=YES
.endif
-.if !defined(WITHOUT_THREADS)
+.if defined(WITH_THREADS)
CONFIGURE_ARGS+= --enable-threads
.endif
@@ -73,7 +74,7 @@ PLIST_SUB+= SUEXEC=""
PLIST_SUB+= SUEXEC="@comment "
.endif
-.if !defined(WITHOUT_CACHE) && !defined(WITHOUT_THREADS)
+.if !defined(WITHOUT_CACHE) && defined(WITH_THREADS)
SHARED_MODULES+= cache file-cache disk-cache mem_cache
PLIST_SUB+= MODCACHE=""
.else
@@ -89,7 +90,7 @@ PLIST_SUB+= MODPROXY="@comment "
.if ${WITH_MPM} != "prefork"
PKGNAMESUFFIX= -${WITH_MPM}
-.if defined(WITHOUT_THREADS)
+.if !defined(WITH_THREADS)
IGNORE= "requires threads for ${WITH_MPM} mpm"
.endif
.endif
@@ -112,8 +113,11 @@ post-patch:
@${FIND} ${WRKSRC} -name "*.orig" -exec ${RM} -f {} \;
@${SED} ${RC_SUB} ${FILESDIR}/apache.sh >${WRKDIR}/apache2.sh
.if ${OSVERSION} >= 500032
+.for ltfile in srclib/pcre/ltmain.sh srclib/apr/build/ltmain.sh \
+ srclib/apr-util/xml/expat/conftools/ltmain.sh
@${PERL} -pi.orig -e 's|expr|expr --|' \
- ${WRKSRC}/srclib/apr/build/ltmain.sh
+ ${WRKSRC}/${ltfile}
+.endfor
.endif
pre-install:
diff --git a/www/apache22/Makefile b/www/apache22/Makefile
index 42fb552410d9..3d83bc636c3a 100644
--- a/www/apache22/Makefile
+++ b/www/apache22/Makefile
@@ -7,6 +7,7 @@
PORTNAME= apache
PORTVERSION= 2.0.35
+PORTREVISION= 1
CATEGORIES= www ipv6
MASTER_SITES= http://www.apache.org/dist/httpd/ \
http://apache.mirrorcentral.com/dist/httpd/ \
@@ -46,7 +47,7 @@ RC_SUB= -e 's,@@PREFIX@@,${PREFIX},g'
MAKE_ENV+= NOPORTDOCS=YES
.endif
-.if !defined(WITHOUT_THREADS)
+.if defined(WITH_THREADS)
CONFIGURE_ARGS+= --enable-threads
.endif
@@ -73,7 +74,7 @@ PLIST_SUB+= SUEXEC=""
PLIST_SUB+= SUEXEC="@comment "
.endif
-.if !defined(WITHOUT_CACHE) && !defined(WITHOUT_THREADS)
+.if !defined(WITHOUT_CACHE) && defined(WITH_THREADS)
SHARED_MODULES+= cache file-cache disk-cache mem_cache
PLIST_SUB+= MODCACHE=""
.else
@@ -89,7 +90,7 @@ PLIST_SUB+= MODPROXY="@comment "
.if ${WITH_MPM} != "prefork"
PKGNAMESUFFIX= -${WITH_MPM}
-.if defined(WITHOUT_THREADS)
+.if !defined(WITH_THREADS)
IGNORE= "requires threads for ${WITH_MPM} mpm"
.endif
.endif
@@ -112,8 +113,11 @@ post-patch:
@${FIND} ${WRKSRC} -name "*.orig" -exec ${RM} -f {} \;
@${SED} ${RC_SUB} ${FILESDIR}/apache.sh >${WRKDIR}/apache2.sh
.if ${OSVERSION} >= 500032
+.for ltfile in srclib/pcre/ltmain.sh srclib/apr/build/ltmain.sh \
+ srclib/apr-util/xml/expat/conftools/ltmain.sh
@${PERL} -pi.orig -e 's|expr|expr --|' \
- ${WRKSRC}/srclib/apr/build/ltmain.sh
+ ${WRKSRC}/${ltfile}
+.endfor
.endif
pre-install: