summaryrefslogtreecommitdiff
path: root/deskutils/gnucash
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-06-21 12:22:08 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-06-21 12:22:08 +0000
commit1456f96a12c86aa2f058347824e48cdeac6bc2b7 (patch)
tree08475719dd27f6a1c2c3c15d62f2b3d515a85f91 /deskutils/gnucash
parentUpgrade to 1.3.26. (diff)
- Fix incompatibility with guile-1.4.1 and bump PORTREVISION;
- use USE_REINPLACE while I am here. Reported by: Glenn Johnson <glennpj@charter.net>
Notes
Notes: svn path=/head/; revision=61673
Diffstat (limited to 'deskutils/gnucash')
-rw-r--r--deskutils/gnucash/Makefile12
-rw-r--r--deskutils/gnucash/files/patch-lib::srfi::srfi-8.scm15
2 files changed, 22 insertions, 5 deletions
diff --git a/deskutils/gnucash/Makefile b/deskutils/gnucash/Makefile
index daf0c82c6c82..b6acbed87844 100644
--- a/deskutils/gnucash/Makefile
+++ b/deskutils/gnucash/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnucash
PORTVERSION= 1.6.6
+PORTREVISION= 1
CATEGORIES= deskutils gnome
MASTER_SITES= http://www.gnucash.org/pub/gnucash/sources/stable/ \
ftp://ftp.gnucash.org/pub/gnucash/sources/stable/ \
@@ -35,6 +36,7 @@ USE_GMAKE= yes
USE_XPM= yes
USE_PERL5= yes
USE_GNOME= yes
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --with-glib-config=${GLIB_CONFIG}
@@ -44,11 +46,11 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
MAN1= gnc-prices.1 gnucash.1
pre-patch:
- @${PERL} -pi -e 's^-l(pthread|c_r)^${PTHREAD_LIBS}^g ; \
+ @${REINPLACE_CMD} -e 's^-l(pthread|c_r)^${PTHREAD_LIBS}^g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
- @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
- 's^\$\{datadir\}/gnome/^\$\(datadir\)/^g ; \
- s^\$\{datadir\}/aclocal^\$\(prefix\)/share/aclocal^g ; \
- s^\$\{datadir\}/locale^\$\(prefix\)/share/locale^g'
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \
+ 's|[{]datadir[}]/gnome/|(datadir)/|g ; \
+ s|[{]datadir[}]/aclocal|(prefix)/share/aclocal|g ; \
+ s|[{]datadir[}]/locale|(prefix)/share/locale|g'
.include <bsd.port.mk>
diff --git a/deskutils/gnucash/files/patch-lib::srfi::srfi-8.scm b/deskutils/gnucash/files/patch-lib::srfi::srfi-8.scm
new file mode 100644
index 000000000000..5d352c0f263d
--- /dev/null
+++ b/deskutils/gnucash/files/patch-lib::srfi::srfi-8.scm
@@ -0,0 +1,15 @@
+
+$FreeBSD$
+
+--- lib/srfi/srfi-8.scm 2002/06/21 12:07:11 1.1
++++ lib/srfi/srfi-8.scm 2002/06/21 12:17:48
+@@ -22,7 +22,8 @@
+ (cond
+ ((or (string=? "1.3" (version))
+ (string=? "1.3.4" (version))
+- (string=? "1.4" (version)))
++ (string=? "1.4" (version))
++ (string=? "1.4.1" (version)))
+
+ (use-modules (ice-9 slib))
+ (require 'macro-by-example)