aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
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,' \