Put a wrapper around gauche-config so that it only gets executed when it

exists.
This commit is contained in:
Adrian Portelli 2006-01-23 23:12:04 +00:00 committed by Thomas Klausner
parent 1371c41439
commit 26b3bbb3a0

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2005/11/28 00:27:24 rillig Exp $
# $NetBSD: Makefile,v 1.3 2006/01/23 23:12:04 adrian_p Exp $
#
DISTNAME= Gauche-fastcgi-0.1
@ -12,7 +12,10 @@ COMMENT= Fastcgi bindings for gauche
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
.if exists(${PREFIX}/bin/gauche-config)
GAUCHE_VERSION!= gauche-config -V
.endif
PLIST_SUBST+= GAUCHE_VERSION=${GAUCHE_VERSION:Q}
.include "../../lang/gauche/buildlink3.mk"