summaryrefslogtreecommitdiff
path: root/finance/gnucash/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2004-05-05 11:18:14 +0000
committerwiz <wiz>2004-05-05 11:18:14 +0000
commitc7e1bd561ecabe895d5562433293038cd700c20c (patch)
tree21c06ceb0678f6eac8fa959a983f73e4301d58ac /finance/gnucash/Makefile
parenta795c41155dd32188c2a450846fa0c5a5a0066c2 (diff)
downloadpkgsrc-c7e1bd561ecabe895d5562433293038cd700c20c.tar.gz
Fix scripts to run the correct guile interpreter.
Somehow broken through the bl3 update, sorry for that. Bump PKGREVISION to 6.
Diffstat (limited to 'finance/gnucash/Makefile')
-rw-r--r--finance/gnucash/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/finance/gnucash/Makefile b/finance/gnucash/Makefile
index 7cf248048df..d18835c733d 100644
--- a/finance/gnucash/Makefile
+++ b/finance/gnucash/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.63 2004/05/03 15:58:55 wiz Exp $
+# $NetBSD: Makefile,v 1.64 2004/05/05 11:18:14 wiz Exp $
DISTNAME= gnucash-1.8.8
-PKGREVISION= 5
+PKGREVISION= 6
CATEGORIES= finance
MASTER_SITES= ftp://ftp.gnucash.org/pub/gnucash/sources/stable/ \
${MASTER_SITE_SOURCEFORGE:=gnucash/}
@@ -33,9 +33,18 @@ LDFLAGS+= -L${PREFIX}/${GUILE14_SUBDIR}/lib -Wl,-R${PREFIX}/${GUILE14_SUBDIR}/l
AM_MAKEFLAGS= LIBTOOL='${LIBTOOL} ${LIBTOOL_FLAGS}'
MAKE_ENV+= AM_MAKEFLAGS="${AM_MAKEFLAGS}"
+MAKE_ENV+= GUILE14_SUBDIR=${GUILE14_SUBDIR:Q}
INFO_FILES= gnucash-design.info
+SUBST_CLASSES+= guile14
+SUBST_STAGE.guile14= pre-configure
+SUBST_MESSAGE.guile14= "Substitute interpreter calls to use guile14."
+SUBST_FILES.guile14+= src/bin/overrides/gnucash
+SUBST_FILES.guile14+= src/bin/overrides/gnucash-make-guids
+SUBST_FILES.guile14+= src/bin/overrides/gnucash-run-script
+SUBST_SED.guile14+= "s, guile , ${PREFIX}/${GUILE14_SUBDIR}/bin/guile ,"
+
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"