aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-10-07 07:09:03 +0800
committeredwin <edwin@FreeBSD.org>2003-10-07 07:09:03 +0800
commita1afe84b7f3236802becaf71f33042f004ea778f (patch)
treee5b122ebf003fa54dd1c1120e312552d711ddc78 /www
parent1b68d1f4fe109b111910de518556194ee226d6ac (diff)
downloadfreebsd-ports-gnome-a1afe84b7f3236802becaf71f33042f004ea778f.tar.gz
freebsd-ports-gnome-a1afe84b7f3236802becaf71f33042f004ea778f.tar.zst
freebsd-ports-gnome-a1afe84b7f3236802becaf71f33042f004ea778f.zip
Make port describe properly when gauche-config doesn't exist.
Noted by: INDEX build failed
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,' \