summaryrefslogtreecommitdiff
path: root/misc/gnucash/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/gnucash/Makefile')
-rw-r--r--misc/gnucash/Makefile31
1 files changed, 20 insertions, 11 deletions
diff --git a/misc/gnucash/Makefile b/misc/gnucash/Makefile
index a60678bfd1e..f0bc5d86f06 100644
--- a/misc/gnucash/Makefile
+++ b/misc/gnucash/Makefile
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.17 2000/08/06 19:16:21 jlam Exp $
+# $NetBSD: Makefile,v 1.18 2000/08/15 02:44:44 jlam Exp $
#
-DISTNAME= gnucash-1.4.1
+DISTNAME= gnucash-1.4.3
CATEGORIES= misc
-MASTER_SITES= ftp://ftp.gnucash.org/pub/gnucash/sources/stable/ \
+MASTER_SITES= http://www.linas.org/pub/gnucash/gnucash/sources/stable/ \
+ ftp://ftp.gnucash.org/pub/gnucash/sources/stable/ \
http://download.sourceforge.net/gnucash/
MAINTAINER= drankin@bohemians.lexington.ky.us
@@ -12,25 +13,33 @@ HOMEPAGE= http://www.gnucash.org/
DEPENDS+= gnome-libs>=1.0.40:../../x11/gnome-libs
DEPENDS+= gettext>=0.10.35nb1:../../devel/gettext
DEPENDS+= eperl-2.2.14:../../textproc/eperl
-DEPENDS+= libperl-5.00404:../../lang/libperl
-DEPENDS+= g-wrap>=0.9.4:../../devel/g-wrap
+DEPENDS+= g-wrap>=0.9.5:../../devel/g-wrap
DEPENDS+= guile-slib-2c8:../../devel/guile-slib
+DEPENDS+= libperl-5.*:../../lang/libperl
DEPENDS+= swig-1.1p5:../../devel/swig
DEPENDS+= libxml>=1.8.7:../../textproc/libxml
USE_GMAKE= # defined
-USE_PERL= # defined
+USE_PERL5= # defined
USE_X11= # defined
+
USE_LIBTOOL= # defined
LTCONFIG_OVERRIDE+= ${WRKSRC}/ltconfig
-LTCONFIG_OVERRIDE+= ${WRKSRC}/lib/g-wrap/ltconfig
GNU_CONFIGURE= # defined
CONFIGURE_ARGS+= --with-guile-config=${LOCALBASE}/bin/guile-config
CONFIGURE_ARGS+= --without-motif --without-included-gettext
-CONFIGURE_ARGS+= \
- --with-perl-includes=${LOCALBASE}/lib/perl5/${MACHINE_ARCH}-netbsd/5.00404
-CONFIGURE_ENV+= LOCALBASE="${LOCALBASE}"
-CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include"
+
+CONFIGURE_ENV+= LOCALBASE="${LOCALBASE}"
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
+CPPFLAGS+= -I${LOCALBASE}/include
.include "../../mk/bsd.pkg.mk"
+
+# These definitions are after the inclusion of bsd.pkg.mk so that
+# LOCALBASE and SED are defined at this point.
+#
+PERL= ${LOCALBASE}/bin/perl
+P5_ARCHLIB!= eval `${PERL} -V:installarchlib`; \
+ echo $${installarchlib}
+CONFIGURE_ARGS+= --with-perl-includes=${P5_ARCHLIB}