aboutsummaryrefslogtreecommitdiff
path: root/www/mod_perl2
diff options
context:
space:
mode:
authorWesley Shields <wxs@FreeBSD.org>2008-01-18 14:07:01 +0000
committerWesley Shields <wxs@FreeBSD.org>2008-01-18 14:07:01 +0000
commit6d335189e8638f68e61cccef62c5d9f9e3dc1109 (patch)
tree6a26e1d96041bf61d353d6af5062d63de8e9f016 /www/mod_perl2
parenta4104cdf390947c43e3eeeac647b2366bbf3a077 (diff)
downloadports-6d335189e8638f68e61cccef62c5d9f9e3dc1109.tar.gz
ports-6d335189e8638f68e61cccef62c5d9f9e3dc1109.zip
Notes
Diffstat (limited to 'www/mod_perl2')
-rw-r--r--www/mod_perl2/Makefile2
-rw-r--r--www/mod_perl2/files/pkg-message.in (renamed from www/mod_perl2/pkg-message)2
2 files changed, 3 insertions, 1 deletions
diff --git a/www/mod_perl2/Makefile b/www/mod_perl2/Makefile
index dbbe1f2b882b..9b019aa5d215 100644
--- a/www/mod_perl2/Makefile
+++ b/www/mod_perl2/Makefile
@@ -20,6 +20,8 @@ COMMENT= Embeds a Perl interpreter in the Apache2 server
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/BSD/Resource.pm:${PORTSDIR}/devel/p5-BSD-Resource
RUN_DEPENDS= ${BUILD_DEPENDS}
+SUB_FILES= pkg-message
+SUB_LIST= APACHEMODDIR=${APACHEMODDIR}
USE_APACHE= 2.0+
PERL_CONFIGURE= 5.8.0+
GMAKE= yes
diff --git a/www/mod_perl2/pkg-message b/www/mod_perl2/files/pkg-message.in
index 5de52416dbc4..f7554ecb9caf 100644
--- a/www/mod_perl2/pkg-message
+++ b/www/mod_perl2/files/pkg-message.in
@@ -2,7 +2,7 @@
Simple config:
- LoadModule perl_module libexec/apache2/mod_perl.so
+ LoadModule perl_module %%APACHEMODDIR%%/mod_perl.so
#PerlModule Apache::compat
# your config comes here