summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2001-03-14 23:11:43 +0000
committerdirk <dirk@FreeBSD.org>2001-03-14 23:11:43 +0000
commit337930b8f3e4654462dcffc8fc9a34dc411a814b (patch)
tree7a1e92d740d35b09674f253a35a556b074dd184f /www
parent89fd250ba580e1fdca28b0abd169808d0372ff77 (diff)
downloadFreeBSD-ports-337930b8f3e4654462dcffc8fc9a34dc411a814b.zip
FreeBSD-ports-337930b8f3e4654462dcffc8fc9a34dc411a814b.tar.gz
Solve ming support problem if ${WRKDIRPREFIX} is set.
Noticed by: Arcady Genkin <a.genkin@utoronto.ca>
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 816f7a7..183953b 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 816f7a7..183953b 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; \\
OpenPOWER on IntegriCloud