From bfc61041b6e8213b49e0a828be1e6ab9c9aafb9b Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Mon, 6 Oct 2003 23:09:03 +0000 Subject: Make port describe properly when gauche-config doesn't exist. Noted by: INDEX build failed --- www/wiliki/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'www/wiliki') 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,' \ -- cgit v1.2.3