aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2008-01-18 22:07:01 +0800
committerwxs <wxs@FreeBSD.org>2008-01-18 22:07:01 +0800
commitb7b56d65ed5444b954172361269b45dc2bad34a6 (patch)
tree54e9698df62cce67ff5925a4adae983e3475af7a /www
parentd85b2722d2e9107530480abbe0d7e9581cd4e342 (diff)
downloadfreebsd-ports-gnome-b7b56d65ed5444b954172361269b45dc2bad34a6.tar.gz
freebsd-ports-gnome-b7b56d65ed5444b954172361269b45dc2bad34a6.tar.zst
freebsd-ports-gnome-b7b56d65ed5444b954172361269b45dc2bad34a6.zip
Fix an oversight in pkg-message. Use APACHEMODDIR instead of a
hard-coded path. No PORTREVISION bump necessary as the default package will remain the same. PR: 119438 Submitted by: Terry Sposato <terry@sucked-in.com> Approved by: Philip M. Gollucci (maintainer), garga (mentor)
Diffstat (limited to 'www')
-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