summaryrefslogtreecommitdiffstats
path: root/www/pruby
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-03-03 09:45:51 +0000
committerknu <knu@FreeBSD.org>2001-03-03 09:45:51 +0000
commit66fc6160233eaeae08568adc1c294c899fbc3c56 (patch)
tree5ee38ba8327812bd6c21a7a4d7c90894fe9c2687 /www/pruby
parenta8505b6a7cdfc5af51fe85b8c36812756230aeee (diff)
downloadFreeBSD-ports-66fc6160233eaeae08568adc1c294c899fbc3c56.zip
FreeBSD-ports-66fc6160233eaeae08568adc1c294c899fbc3c56.tar.gz
Avoid the use of `!=' assignment where it's possible. Some old
make(1) seems to have a messy problem with it. Submitted by: FreshPorts
Diffstat (limited to 'www/pruby')
-rw-r--r--www/pruby/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/www/pruby/Makefile b/www/pruby/Makefile
index 295f953..5e4c033 100644
--- a/www/pruby/Makefile
+++ b/www/pruby/Makefile
@@ -24,19 +24,21 @@ USE_RUBY= yes
PHP4_PORTDIR= ${.CURDIR}/../../lang/php4
MOD_PHP4_PORTDIR= ${.CURDIR}/../mod_php4
-MOD_PHP4_WRKSRC!= cd ${MOD_PHP4_PORTDIR} && ${MAKE} -V WRKSRC
+MOD_PHP4_WRKSRC_CMD= cd ${MOD_PHP4_PORTDIR} && ${MAKE} -V WRKSRC
DOCS_EN= README contrib/_htaccess
pre-everything:
- ${MKDIR} ${MOD_PHP4_WRKSRC}
- ${TOUCH} ${MOD_PHP4_WRKSRC}/../../Makefile.inc
+ dir=`${MOD_PHP4_WRKSRC_CMD}`; \
+ ${MKDIR} $${dir}; \
+ ${TOUCH} $${dir}/../../Makefile.inc
do-configure:
cd ${WRKSRC} && ( \
+ dir=`${MOD_PHP4_WRKSRC_CMD}`; \
php contrib/phpinfo.php > phpinfo.out; \
( \
- ${ECHO} "PHP4_SRC=${MOD_PHP4_WRKSRC}"; \
+ ${ECHO} "PHP4_SRC=$${dir}"; \
${ECHO} "PHP4_CONFIGURED=yes"; \
${ECHO} "RUBY_SRC="; \
${ECHO} "RUBY=${RUBY}"; \
OpenPOWER on IntegriCloud