From 2bc905398d88fd3187ec27b32eebd2566cb86695 Mon Sep 17 00:00:00 2001 From: Dirk Froemberg Date: Sun, 4 Mar 2001 22:41:12 +0000 Subject: Solve the multiple post-extract targets problem. --- www/mod_php4/Makefile | 10 ++++++++-- www/mod_php5/Makefile | 10 ++++++++-- 2 files changed, 16 insertions(+), 4 deletions(-) (limited to 'www') 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 -- cgit v1.2.3