diff options
author | edwin <edwin@FreeBSD.org> | 2003-10-07 07:09:03 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-10-07 07:09:03 +0800 |
commit | a1afe84b7f3236802becaf71f33042f004ea778f (patch) | |
tree | e5b122ebf003fa54dd1c1120e312552d711ddc78 /www | |
parent | 1b68d1f4fe109b111910de518556194ee226d6ac (diff) | |
download | freebsd-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/Makefile | 6 |
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,' \ |