summaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-10-12 13:23:55 +0000
committerkrion <krion@FreeBSD.org>2003-10-12 13:23:55 +0000
commita2517fde3e9a6875cb5ed3428e5e3ed73c1540cb (patch)
tree5e884bf55566daaab640443a77f11c629b92d96b /deskutils
parent6ac17637d0bb49c8e12a6ae5f4b6193ed11760f1 (diff)
downloadFreeBSD-ports-a2517fde3e9a6875cb5ed3428e5e3ed73c1540cb.zip
FreeBSD-ports-a2517fde3e9a6875cb5ed3428e5e3ed73c1540cb.tar.gz
- Reaarange USE_GNOME
PR: 57886 Submitted by: Ports Fury
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/gnofin/Makefile22
1 files changed, 9 insertions, 13 deletions
diff --git a/deskutils/gnofin/Makefile b/deskutils/gnofin/Makefile
index c9f08a8..dbc82f2 100644
--- a/deskutils/gnofin/Makefile
+++ b/deskutils/gnofin/Makefile
@@ -14,25 +14,21 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Light-weight GNOME based financial management program
-USE_REINPLACE= yes
USE_X_PREFIX= yes
+USE_GNOME= gnomehack gnomelibs gnomeprefix
USE_GMAKE= yes
-USE_GNOME= yes
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LIBS="-L${LOCALBASE}/lib"
+ LDFLAGS="-L${LOCALBASE}/lib"
MAN1= gnofin.1
-pre-patch:
- @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
- -e 's|DATADIRNAME=lib|DATADIRNAME=share|g' \
- -e 's|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|' \
- -e 's|$$(top_builddir)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure
- @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} \
- -e 's|$$(datadir)/gnome/|$$(datadir)/|g' \
- -e ' s|$$(datadir)/locale|$$(prefix)/share/locale|g'
- @{FIND} ${WRKSRC}/plugins -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} \
- -e 's|_la_LDFLAGS =|_la_LDFLAGS = -avoid-version|g'
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
+ s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' \
+ ${WRKSRC}/configure
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|_la_LDFLAGS =|_la_LDFLAGS = -avoid-version|g'
.include <bsd.port.mk>
OpenPOWER on IntegriCloud