diff --git a/www/mod_php3/Makefile b/www/mod_php3/Makefile index ad2bd50f6f48..0d6eefc08358 100644 --- a/www/mod_php3/Makefile +++ b/www/mod_php3/Makefile @@ -27,10 +27,8 @@ RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 PHP_DISTDIR= distributions -APXS= ${PREFIX}/sbin/apxs - GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-apxs=${APXS} \ +CONFIGURE_ARGS= --with-apxs=${PREFIX}/sbin/apxs \ --enable-versioning \ --with-system-regex \ --with-config-file-path=${PREFIX}/etc \ @@ -42,11 +40,7 @@ SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \ TOUCH="${TOUCH}" \ MKDIR="${MKDIR}" -.if exists(${APXS}) -AP_LIBEXEC!= ${APXS} -q LIBEXEC -.else AP_LIBEXEC= ${PREFIX}/libexec/apache -.endif PHPDOCDIR= ${PREFIX}/share/doc/php3 PLIST_SUB= PHPDOCDIR=${PHPDOCDIR:S/^${PREFIX}\///} \ diff --git a/www/mod_php4/Makefile b/www/mod_php4/Makefile index f897c201e3d0..e1a490b4158f 100644 --- a/www/mod_php4/Makefile +++ b/www/mod_php4/Makefile @@ -26,10 +26,8 @@ RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 PHP_DISTDIR= distributions -APXS= ${PREFIX}/sbin/apxs - USE_LIBTOOL= yes -CONFIGURE_ARGS= --with-apxs=${APXS} \ +CONFIGURE_ARGS= --with-apxs=${PREFIX}/sbin/apxs \ --enable-versioning \ --with-system-regex \ --with-config-file-path=${PREFIX}/etc \ @@ -44,11 +42,7 @@ SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \ MKDIR="${MKDIR}" \ CAT="${CAT}" -.if exists(${APXS}) -AP_LIBEXEC!= ${APXS} -q LIBEXEC -.else AP_LIBEXEC= ${PREFIX}/libexec/apache -.endif PHPDOCDIR= ${PREFIX}/share/doc/php PLIST_SUB= PHPDOCDIR=${PHPDOCDIR:S/^${PREFIX}\///} \ diff --git a/www/mod_php5/Makefile b/www/mod_php5/Makefile index f897c201e3d0..e1a490b4158f 100644 --- a/www/mod_php5/Makefile +++ b/www/mod_php5/Makefile @@ -26,10 +26,8 @@ RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 PHP_DISTDIR= distributions -APXS= ${PREFIX}/sbin/apxs - USE_LIBTOOL= yes -CONFIGURE_ARGS= --with-apxs=${APXS} \ +CONFIGURE_ARGS= --with-apxs=${PREFIX}/sbin/apxs \ --enable-versioning \ --with-system-regex \ --with-config-file-path=${PREFIX}/etc \ @@ -44,11 +42,7 @@ SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \ MKDIR="${MKDIR}" \ CAT="${CAT}" -.if exists(${APXS}) -AP_LIBEXEC!= ${APXS} -q LIBEXEC -.else AP_LIBEXEC= ${PREFIX}/libexec/apache -.endif PHPDOCDIR= ${PREFIX}/share/doc/php PLIST_SUB= PHPDOCDIR=${PHPDOCDIR:S/^${PREFIX}\///} \