aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-03-03 17:45:51 +0800
committerknu <knu@FreeBSD.org>2001-03-03 17:45:51 +0800
commit66fc6160233eaeae08568adc1c294c899fbc3c56 (patch)
tree5ee38ba8327812bd6c21a7a4d7c90894fe9c2687 /www
parenta8505b6a7cdfc5af51fe85b8c36812756230aeee (diff)
downloadfreebsd-ports-graphics-66fc6160233eaeae08568adc1c294c899fbc3c56.tar.gz
freebsd-ports-graphics-66fc6160233eaeae08568adc1c294c899fbc3c56.tar.zst
freebsd-ports-graphics-66fc6160233eaeae08568adc1c294c899fbc3c56.zip
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')
-rw-r--r--www/pruby/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/www/pruby/Makefile b/www/pruby/Makefile
index 295f953f312..5e4c0339a12 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}"; \