diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2003-06-02 07:57:27 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2003-06-02 07:57:27 +0000 |
commit | d798b4079c7dec305951e9755c8e8c64f93bdcb2 (patch) | |
tree | a512a77c0692ef2b9fb850544b8e214fa2996812 /Mk | |
parent | 5820a0a6c4ec5b167e67fb8231efed554e1a0233 (diff) | |
download | ports-d798b4079c7dec305951e9755c8e8c64f93bdcb2.tar.gz ports-d798b4079c7dec305951e9755c8e8c64f93bdcb2.zip |
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.
Notes
Notes:
svn path=/head/; revision=81976
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.gnome.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk index c18bf8cf82d6..d2f0fe857c84 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 |