aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-06-21 20:22:08 +0800
committersobomax <sobomax@FreeBSD.org>2002-06-21 20:22:08 +0800
commit7f7716d2c91188867f65b2ebb42bf324026564c2 (patch)
tree3b0f51097bfcf00e141ad17cde7c2b9c7d1c938d /deskutils
parent14f9fc5b371816c508373bf0419d11bcd972a2ff (diff)
downloadfreebsd-ports-gnome-7f7716d2c91188867f65b2ebb42bf324026564c2.tar.gz
freebsd-ports-gnome-7f7716d2c91188867f65b2ebb42bf324026564c2.tar.zst
freebsd-ports-gnome-7f7716d2c91188867f65b2ebb42bf324026564c2.zip
- Fix incompatibility with guile-1.4.1 and bump PORTREVISION;
- use USE_REINPLACE while I am here. Reported by: Glenn Johnson <glennpj@charter.net>
Diffstat (limited to 'deskutils')
-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)