aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorvd <vd@FreeBSD.org>2006-02-27 23:12:01 +0800
committervd <vd@FreeBSD.org>2006-02-27 23:12:01 +0800
commit2e7828bab7e279891e6eef4cedaf60b94289386f (patch)
treebaa05fb41682cae6acccd94494fd598b90829c5d /www
parent28b85bc8f1dfde0943008332d46217209da630b9 (diff)
downloadfreebsd-ports-gnome-2e7828bab7e279891e6eef4cedaf60b94289386f.tar.gz
freebsd-ports-gnome-2e7828bab7e279891e6eef4cedaf60b94289386f.tar.zst
freebsd-ports-gnome-2e7828bab7e279891e6eef4cedaf60b94289386f.zip
Fix plist in apache 2.1+ case
PR: ports/92590 (based on) Submitted by: Lars Eggert <lars.eggert@gmx.net> (maintainer) Reworked by: vd Approved by: portmgr (erwin), Lars Eggert <lars.eggert@gmx.net> (maintainer)
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%%