summaryrefslogtreecommitdiff
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
parent- Update to 0.4.10.5 (diff)
Make port describe properly when gauche-config doesn't exist.
Noted by: INDEX build failed
-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,' \