diff --git a/www/mod_php4/Makefile b/www/mod_php4/Makefile index ee3cc9e41334..a467a671072a 100644 --- a/www/mod_php4/Makefile +++ b/www/mod_php4/Makefile @@ -62,8 +62,6 @@ PLIST_SUB= PHPDOCDIR=${PHPDOCDIR:S/^${PREFIX}\///} \ pre-fetch: @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.php -post-extract: post-extract-jstring post-extract-ming - post-install: .if !defined(STANDALONE) @${ECHO} "Restarting Apache..." @@ -103,4 +101,12 @@ post-clean: .include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc" .endif +post-extract: +.if target(post-extract-jstring) + ${MAKE} post-extract-jstring +.endif +.if target(post-extract-ming) + ${MAKE} post-extract-ming +.endif + .include diff --git a/www/mod_php5/Makefile b/www/mod_php5/Makefile index ee3cc9e41334..a467a671072a 100644 --- a/www/mod_php5/Makefile +++ b/www/mod_php5/Makefile @@ -62,8 +62,6 @@ PLIST_SUB= PHPDOCDIR=${PHPDOCDIR:S/^${PREFIX}\///} \ pre-fetch: @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.php -post-extract: post-extract-jstring post-extract-ming - post-install: .if !defined(STANDALONE) @${ECHO} "Restarting Apache..." @@ -103,4 +101,12 @@ post-clean: .include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc" .endif +post-extract: +.if target(post-extract-jstring) + ${MAKE} post-extract-jstring +.endif +.if target(post-extract-ming) + ${MAKE} post-extract-ming +.endif + .include