From 337930b8f3e4654462dcffc8fc9a34dc411a814b Mon Sep 17 00:00:00 2001 From: dirk Date: Wed, 14 Mar 2001 23:11:43 +0000 Subject: Solve ming support problem if ${WRKDIRPREFIX} is set. Noticed by: Arcady Genkin --- www/mod_php4/scripts/configure.php | 2 +- www/mod_php5/scripts/configure.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'www') diff --git a/www/mod_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php index 816f7a759d17..183953b578bc 100644 --- a/www/mod_php4/scripts/configure.php +++ b/www/mod_php4/scripts/configure.php @@ -197,7 +197,7 @@ LIB_DEPENDS+= ming.2:\${PORTSDIR}/graphics/ming POSTEXTRACT+= post-extract-ming post-extract-ming: - [ -d \${PORTSDIR}/graphics/ming/work ] && \\ + [ -d \`cd \${PORTSDIR}/graphics/ming && \${MAKE} -V WRKSRC\`/../php_ext ] && \\ (cd \${WRKSRC}; \\ \${MKDIR} \${WRKSRC}/ext/ming; \\ \${CP} \`cd \${PORTSDIR}/graphics/ming && \${MAKE} -V WRKSRC\`/../php_ext/* \${WRKSRC}/ext/ming; \\ diff --git a/www/mod_php5/scripts/configure.php b/www/mod_php5/scripts/configure.php index 816f7a759d17..183953b578bc 100644 --- a/www/mod_php5/scripts/configure.php +++ b/www/mod_php5/scripts/configure.php @@ -197,7 +197,7 @@ LIB_DEPENDS+= ming.2:\${PORTSDIR}/graphics/ming POSTEXTRACT+= post-extract-ming post-extract-ming: - [ -d \${PORTSDIR}/graphics/ming/work ] && \\ + [ -d \`cd \${PORTSDIR}/graphics/ming && \${MAKE} -V WRKSRC\`/../php_ext ] && \\ (cd \${WRKSRC}; \\ \${MKDIR} \${WRKSRC}/ext/ming; \\ \${CP} \`cd \${PORTSDIR}/graphics/ming && \${MAKE} -V WRKSRC\`/../php_ext/* \${WRKSRC}/ext/ming; \\ -- cgit