aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-10-06 23:09:03 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-10-06 23:09:03 +0000
commitbfc61041b6e8213b49e0a828be1e6ab9c9aafb9b (patch)
tree5d89cfd8283229ca9ab5252d2be3993fabf7d2ec /www
parent5417da6e7f9b80ca40e955e429288ca57088a6c5 (diff)
downloadports-bfc61041b6e8213b49e0a828be1e6ab9c9aafb9b.tar.gz
ports-bfc61041b6e8213b49e0a828be1e6ab9c9aafb9b.zip
Make port describe properly when gauche-config doesn't exist.
Noted by: INDEX build failed
Notes
Notes: svn path=/head/; revision=90475
Diffstat (limited to 'www')
-rw-r--r--www/wiliki/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/www/wiliki/Makefile b/www/wiliki/Makefile
index ecb80b6cd2a6..785cf2e6279d 100644
--- a/www/wiliki/Makefile
+++ b/www/wiliki/Makefile
@@ -21,7 +21,11 @@ RUN_DEPENDS= ${LOCALBASE}/share/gauche/${GAUCHE_VER}/lib/dbm/gdbm.scm:${PORTSDIR
USE_REINPLACE= yes
GNU_CONFIGURE= yes
-GAUCHE_VER= `gauche-config -V`
+.if exists(${LOCALBASE}/bin/gauche-config)
+GAUCHE_VER!= `gauche-config -V`
+.else
+GAUCHE_VER= none
+.endif
post-patch:
${REINPLACE_CMD} -e 's,/usr/bin,${PREFIX}/bin,' \