summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2001-03-14 23:11:43 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2001-03-14 23:11:43 +0000
commit8efdb7c230940638560b33d867452c542b69b914 (patch)
tree296963181131e42a72527a6e16f70f8ee4d27d04 /www
parentA high-level interface to the Compact Disc Database. (diff)
Solve ming support problem if ${WRKDIRPREFIX} is set.
Noticed by: Arcady Genkin <a.genkin@utoronto.ca>
Notes
Notes: svn path=/head/; revision=39864
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; \\