diff options
Diffstat (limited to 'devel/glade2/Makefile')
-rw-r--r-- | devel/glade2/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/devel/glade2/Makefile b/devel/glade2/Makefile index e90b5fa35bd5..9b633df82cf2 100644 --- a/devel/glade2/Makefile +++ b/devel/glade2/Makefile @@ -20,6 +20,7 @@ LIB_DEPENDS= gnomedb-2.1:${PORTSDIR}/databases/libgnomedb \ USE_BZIP2= yes USE_X_PREFIX= yes +USE_REINPLACE= yes USE_LIBTOOL= yes USE_GMAKE= yes CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \ @@ -29,10 +30,10 @@ 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' + @find ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} -e \ + 's|[(]datadir[)]/gnome/|(datadir)/|g ; \ + s|[(]datadir[)]/locale|(prefix)/share/locale|g' .include <bsd.port.mk> |