aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2006-02-27 15:12:01 +0000
committerVasil Dimov <vd@FreeBSD.org>2006-02-27 15:12:01 +0000
commit5ae4af59a64c376e6a031c93db5e9e79e6993441 (patch)
tree4f6b24282537f939926f86c454c58894cb50ee47 /www
parent5fc8c2df47b6c20a3772b353915762af7a5563cb (diff)
downloadports-5ae4af59a64c376e6a031c93db5e9e79e6993441.tar.gz
ports-5ae4af59a64c376e6a031c93db5e9e79e6993441.zip
Notes
Diffstat (limited to 'www')
-rw-r--r--www/mod_perl2/Makefile6
-rw-r--r--www/mod_perl2/pkg-plist10
2 files changed, 13 insertions, 3 deletions
diff --git a/www/mod_perl2/Makefile b/www/mod_perl2/Makefile
index 4b697ffd24fb..9b3c3f5c0783 100644
--- a/www/mod_perl2/Makefile
+++ b/www/mod_perl2/Makefile
@@ -57,6 +57,12 @@ MAN3= APR.3 APR::Base64.3 APR::Brigade.3 APR::Bucket.3 \
.include <bsd.port.pre.mk>
+.if ${APACHE_VERSION} >= 21
+PLIST_SUB= THREADMUTEX=""
+.else
+PLIST_SUB= THREADMUTEX="@comment "
+.endif
+
pre-everything::
.if ${APACHE_VERSION} >= 21
@${ECHO} "************************************************************"
diff --git a/www/mod_perl2/pkg-plist b/www/mod_perl2/pkg-plist
index 0a8a5e9bd032..6e09baf5969f 100644
--- a/www/mod_perl2/pkg-plist
+++ b/www/mod_perl2/pkg-plist
@@ -70,6 +70,7 @@ bin/mp2bug
%%SITE_PERL%%/%%PERL_ARCH%%/APR/Status.pm
%%SITE_PERL%%/%%PERL_ARCH%%/APR/String.pm
%%SITE_PERL%%/%%PERL_ARCH%%/APR/Table.pm
+%%THREADMUTEX%%%%SITE_PERL%%/%%PERL_ARCH%%/APR/ThreadMutex.pm
%%SITE_PERL%%/%%PERL_ARCH%%/APR/URI.pm
%%SITE_PERL%%/%%PERL_ARCH%%/APR/UUID.pm
%%SITE_PERL%%/%%PERL_ARCH%%/APR/Util.pm
@@ -208,6 +209,8 @@ bin/mp2bug
%%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/String/String.so
%%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/Table/Table.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/Table/Table.so
+%%THREADMUTEX%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/ThreadMutex/ThreadMutex.so
+%%THREADMUTEX%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/ThreadMutex/ThreadMutex.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/URI/URI.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/URI/URI.so
%%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/UUID/UUID.bs
@@ -304,6 +307,7 @@ bin/mp2bug
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/Util
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/UUID
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/URI
+%%THREADMUTEX%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/ThreadMutex
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/Table
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/String
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/Status
@@ -329,6 +333,6 @@ bin/mp2bug
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Apache2
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Apache
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/APR
-@dirrm include/apache2/modules/perl
-@dirrmtry include/apache2/modules
-@dirrmtry include/apache2
+@dirrm %%APACHEINCLUDEDIR%%/modules/perl
+@dirrmtry %%APACHEINCLUDEDIR%%/modules
+@dirrmtry %%APACHEINCLUDEDIR%%