aboutsummaryrefslogtreecommitdiffstats
path: root/www/apache20
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2010-03-28 12:44:55 +0800
committerdougb <dougb@FreeBSD.org>2010-03-28 12:44:55 +0800
commit2a1a4c0d6ca9c23bb711a297300dda307810a5da (patch)
tree987bb0cadf69b0cf8ca31e82dae89b7d28d86689 /www/apache20
parentf5857e45c58956ea71578c31509dd5781b57ee44 (diff)
downloadfreebsd-ports-gnome-2a1a4c0d6ca9c23bb711a297300dda307810a5da.tar.gz
freebsd-ports-gnome-2a1a4c0d6ca9c23bb711a297300dda307810a5da.tar.zst
freebsd-ports-gnome-2a1a4c0d6ca9c23bb711a297300dda307810a5da.zip
Cleanse uneeded RC_SUBR variables
Approved by: pgolluci
Diffstat (limited to 'www/apache20')
-rw-r--r--www/apache20/Makefile2
-rw-r--r--www/apache20/files/apache2.sh.in2
2 files changed, 1 insertions, 3 deletions
diff --git a/www/apache20/Makefile b/www/apache20/Makefile
index e1b759ba48c7..922c6eccee80 100644
--- a/www/apache20/Makefile
+++ b/www/apache20/Makefile
@@ -54,7 +54,6 @@ USE_ICONV= yes
USE_AUTOTOOLS= autoconf:262 libtool:22
USE_PERL5= yes
USE_RC_SUBR= apache2.sh
-SUB_LIST+= RC_SUBR_SUFFIX=${RC_SUBR_SUFFIX}
USE_APACHE= common20
LIBTOOLFILES= configure
USE_LDCONFIG= ${PREFIX}/lib/apache2
@@ -75,7 +74,6 @@ CONFIGURE_ENV= CC="${CC}" CPPFLAGS="${CPPFLAGS}" \
LOCALBASE="${LOCALBASE}"
PREFIX_RELDEST= ${PREFIX:S,^${DESTDIR},,}
-RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
MAKE_ENV+= EXPR_COMPAT=yes
diff --git a/www/apache20/files/apache2.sh.in b/www/apache20/files/apache2.sh.in
index 6e3b5112d55d..0b767a7fc1cf 100644
--- a/www/apache20/files/apache2.sh.in
+++ b/www/apache20/files/apache2.sh.in
@@ -71,7 +71,7 @@ else
if [ "x${apache2_profiles}" != "x" -a "x$1" != "x" ]; then
for profile in ${apache2_profiles}; do
echo "===> apache2 profile: ${profile}"
- %%PREFIX%%/etc/rc.d/apache2%%RC_SUBR_SUFFIX%% $1 ${profile}
+ %%PREFIX%%/etc/rc.d/apache2 $1 ${profile}
retcode="$?"
if [ "0${retcode}" -ne 0 ]; then
failed="${profile} (${retcode}) ${failed:-}"