--- Makefile Sun Feb 25 22:41:47 2007 +++ Makefile Sun Feb 25 23:00:18 2007 @@ -50,6 +50,7 @@ USE_AUTOTOOLS= autoconf:259 libtool:15 USE_PERL5= yes USE_RC_SUBR= apache22.sh +SUB_LIST+= RC_SUBR_SUFFIX=${RC_SUBR_SUFFIX} LIBTOOLFILES= configure .if !defined(WITH_APR_FROM_PORTS) --- files/apache22.sh.in Sun Feb 25 22:45:08 2007 +++ files/apache22.sh.in Sun Feb 25 22:46:38 2007 @@ -91,7 +91,7 @@ if [ "x$1" != "xrestart" ]; then for profile in ${apache22_profiles}; do echo "===> apache22 profile: ${profile}" - %%PREFIX%%/etc/rc.d/apache22.sh $1 ${profile} + %%PREFIX%%/etc/rc.d/apache22%%RC_SUBR_SUFFIX%% $1 ${profile} retcode="$?" if [ "0${retcode}" -ne 0 ]; then failed="${profile} (${retcode}) ${failed:-}"