diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-07-11 15:31:46 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-07-11 15:31:46 +0000 |
commit | 548387be8002521e3aa9b0c8ae2b343d9d3520eb (patch) | |
tree | ec7ba00fd2a8b535baa75d1a42a0f7d7096519e9 /www/libgtkhtml | |
parent | Update to 2.0.0. (diff) |
Use USE_REINPLACE.
Notes
Notes:
svn path=/head/; revision=62815
Diffstat (limited to 'www/libgtkhtml')
-rw-r--r-- | www/libgtkhtml/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/www/libgtkhtml/Makefile b/www/libgtkhtml/Makefile index bcb3366ba4fc..abfe50938a99 100644 --- a/www/libgtkhtml/Makefile +++ b/www/libgtkhtml/Makefile @@ -22,6 +22,7 @@ LIB_DEPENDS= xslt.1:${PORTSDIR}/textproc/libxslt \ USE_BZIP2= yes USE_X_PREFIX= yes USE_GMAKE= yes +USE_REINPLACE= yes INSTALLS_SHLIB= yes USE_LIBTOOL= yes CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \ @@ -33,12 +34,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 ; \ - s|\$\(libdir\)/bonobo/servers|\$\(prefix\)/libdata/bonobo/servers|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 ; \ + s|[(]libdir[)]/bonobo/servers|(prefix)/libdata/bonobo/servers|g' .include <bsd.port.mk> |