aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/mod_php4/scripts/configure.php2
-rw-r--r--www/mod_php5/scripts/configure.php2
2 files changed, 2 insertions, 2 deletions
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; \\