aboutsummaryrefslogtreecommitdiff
path: root/devel/gconf2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gconf2/Makefile')
-rw-r--r--devel/gconf2/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/devel/gconf2/Makefile b/devel/gconf2/Makefile
index 2506a83c51ea..377dbf81fc76 100644
--- a/devel/gconf2/Makefile
+++ b/devel/gconf2/Makefile
@@ -22,6 +22,7 @@ LIB_DEPENDS= ORBit-2.0:${PORTSDIR}/devel/ORBit2 \
USE_BZIP2= yes
USE_GMAKE= yes
USE_X_PREFIX= yes
+USE_REINPLACE= yes
INSTALLS_SHLIB= yes
USE_LIBTOOL= yes
CONFIGURE_ARGS= --with-db3-includes=${LOCALBASE}/include \
@@ -31,12 +32,12 @@ 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|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g ; \
- s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \
+ 's|[(]datadir[)]/gnome/|(datadir)/|g ; \
+ s|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g ; \
+ s|[(]datadir[)]/locale|(prefix)/share/locale|g'
post-install:
@${MKDIR} ${PREFIX}/etc/gconf/gconf.xml.defaults/apps