aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/eel2/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-07-10 07:14:13 +0800
committermarcus <marcus@FreeBSD.org>2002-07-10 07:14:13 +0800
commit6aeb87f34399e9c0488e1676d83467370279146f (patch)
tree1048066b4e50bcde50c24dcd50a65ccdfed0ca39 /x11-toolkits/eel2/Makefile
parentcb976116853855e525e6e7205d493cfd179d620f (diff)
downloadfreebsd-ports-gnome-6aeb87f34399e9c0488e1676d83467370279146f.tar.gz
freebsd-ports-gnome-6aeb87f34399e9c0488e1676d83467370279146f.tar.zst
freebsd-ports-gnome-6aeb87f34399e9c0488e1676d83467370279146f.zip
Remove my previous patch in favor of a new patch to nautilus2. This new patch
is better as it preserves thead safety in eel. While I'm here, make this a REINPLACE port.
Diffstat (limited to 'x11-toolkits/eel2/Makefile')
-rw-r--r--x11-toolkits/eel2/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/x11-toolkits/eel2/Makefile b/x11-toolkits/eel2/Makefile
index f6bb0eb468cc..9b89031404ed 100644
--- a/x11-toolkits/eel2/Makefile
+++ b/x11-toolkits/eel2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= eel2
PORTVERSION= 2.0.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11-toolkits gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= 2.0.0/releases/gnome-2.0-desktop-final
@@ -25,6 +25,7 @@ USE_BZIP2= yes
USE_GMAKE= yes
USE_X_PREFIX= yes
USE_LIBTOOL= yes
+USE_REINPLACE= yes
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
--datadir=${PREFIX}/share/gnome \
@@ -35,11 +36,11 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ @${REINPLACE_CMD} -e 's|-lpthread|${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\)/locale|\$\(prefix\)/share/locale|g ; \
- s|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g'
+ @find ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} -e \
+ 's|[(]datadir[)]/gnome/|(datadir)/|g ; \
+ s|[(]datadir[)]/locale|(prefix)/share/locale|g ; \
+ s|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g'
.include <bsd.port.mk>