summaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2003-06-02 07:57:27 +0000
committeradamw <adamw@FreeBSD.org>2003-06-02 07:57:27 +0000
commitf23fb789ac7a851980cf648dd5122c506533f9c5 (patch)
treeda6b128bdfde8b8b88df9c12e3c162db3f51968d /Mk
parent5138d9bc6c2a7b6913007f0186e17e0d78dd041a (diff)
downloadFreeBSD-ports-f23fb789ac7a851980cf648dd5122c506533f9c5.zip
FreeBSD-ports-f23fb789ac7a851980cf648dd5122c506533f9c5.tar.gz
Add a few short configure substitutions to the gnomehack section.
"s|-lpthread|${PTHREAD_LIBS}|g ; s|DATADIRNAME=lib|DATADIRNAME=share|g" has been appearing in many (most?) GNOME port Makefiles lately. <FreeBSDMarcus> That should clean up quite a few Makefiles.
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.gnome.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk
index c18bf8c..d2f0fe8 100644
--- a/Mk/bsd.gnome.mk
+++ b/Mk/bsd.gnome.mk
@@ -48,7 +48,10 @@ gnomehack_PRE_PATCH= ${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLA
s|[(]datadir[)]/gnome/|(datadir)/|g ; \
s|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g ; \
s|[$$][(]localstatedir[)]/scrollkeeper|${SCROLLKEEPER_DIR}|g ; \
- s|[(]libdir[)]/bonobo/servers|(prefix)/libdata/bonobo/servers|g'
+ s|[(]libdir[)]/bonobo/servers|(prefix)/libdata/bonobo/servers|g' ; \
+ ${FIND} ${WRKSRC} -name "configure" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g'
gnomehier_RUN_DEPENDS= ${X11BASE}/share/gnome/.keep_me:${PORTSDIR}/misc/gnomehier
gnomehier_DETECT= ${X11BASE}/share/gnome/.keep_me
OpenPOWER on IntegriCloud