mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
Cleanse uneeded RC_SUBR variables
Approved by: pgolluci
This commit is contained in:
parent
1cf2d1f305
commit
0450304108
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=251602
@ -55,7 +55,6 @@ MASTER_SITES_MODSSL= http://www.modssl.org/source/ \
|
||||
${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/www/mod_ssl/source,}
|
||||
MODSSL_FILE= mod_ssl-${VERSION_MODSSL}-${VERSION_APACHE}${EXTRACT_SUFX}
|
||||
MODSNMP_FILE= mod_snmp_${VERSION_MODSNMP}${EXTRACT_SUFX}
|
||||
RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
|
||||
|
||||
USE_RC_SUBR= apache
|
||||
|
||||
|
@ -114,7 +114,7 @@ else
|
||||
;;
|
||||
esac
|
||||
echo "===> apache profile: ${profile}"
|
||||
%%PREFIX%%/etc/rc.d/apache%%RC_SUBR_SUFFIX%% $1 ${profile}
|
||||
%%PREFIX%%/etc/rc.d/apache $1 ${profile}
|
||||
retcode="$?"
|
||||
if [ "0${retcode}" -ne 0 ]; then
|
||||
failed="${profile} (${retcode}) ${failed:-}"
|
||||
|
@ -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
|
||||
|
||||
|
@ -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:-}"
|
||||
|
@ -95,7 +95,7 @@ NGINX_ERRORLOG?= ${NGINX_LOGDIR}/nginx-error.log
|
||||
|
||||
CONFLICTS?= nginx-0.7.*
|
||||
USE_RC_SUBR= nginx.sh
|
||||
SUB_LIST+= RC_SUBR_SUFFIX=${RC_SUBR_SUFFIX} WWWOWN=${WWWOWN}
|
||||
SUB_LIST+= WWWOWN=${WWWOWN}
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+=--prefix=${ETCDIR} \
|
||||
|
@ -64,7 +64,7 @@ else
|
||||
if [ "x${nginx_profiles}" != "x" -a "x$1" != "x" ]; then
|
||||
for profile in ${nginx_profiles}; do
|
||||
echo "===> nginx profile: ${profile}"
|
||||
%%PREFIX%%/etc/rc.d/nginx%%RC_SUBR_SUFFIX%% $1 ${profile}
|
||||
%%PREFIX%%/etc/rc.d/nginx $1 ${profile}
|
||||
retcode="$?"
|
||||
if [ "0${retcode}" -ne 0 ]; then
|
||||
failed="${profile} (${retcode}) ${failed:-}"
|
||||
|
@ -92,7 +92,7 @@ NGINX_ERRORLOG?= ${NGINX_LOGDIR}/nginx-error.log
|
||||
|
||||
CONFLICTS?= nginx-devel-0.*
|
||||
USE_RC_SUBR= nginx.sh
|
||||
SUB_LIST+= RC_SUBR_SUFFIX=${RC_SUBR_SUFFIX} WWWOWN=${WWWOWN}
|
||||
SUB_LIST+= WWWOWN=${WWWOWN}
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+=--prefix=${ETCDIR} \
|
||||
|
@ -64,7 +64,7 @@ else
|
||||
if [ "x${nginx_profiles}" != "x" -a "x$1" != "x" ]; then
|
||||
for profile in ${nginx_profiles}; do
|
||||
echo "===> nginx profile: ${profile}"
|
||||
%%PREFIX%%/etc/rc.d/nginx%%RC_SUBR_SUFFIX%% $1 ${profile}
|
||||
%%PREFIX%%/etc/rc.d/nginx $1 ${profile}
|
||||
retcode="$?"
|
||||
if [ "0${retcode}" -ne 0 ]; then
|
||||
failed="${profile} (${retcode}) ${failed:-}"
|
||||
|
Loading…
Reference in New Issue
Block a user