diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-07-11 15:31:46 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-07-11 15:31:46 +0000 |
commit | 56dc32204bad654a33f748f15525ae2478dda76c (patch) | |
tree | 3937ab3f9e452769dfc3da529bc9b040b4183bc3 /sysutils/gnome-system-monitor | |
parent | 169df2917434face98111a403e13db5d03f78444 (diff) | |
download | FreeBSD-ports-56dc32204bad654a33f748f15525ae2478dda76c.zip FreeBSD-ports-56dc32204bad654a33f748f15525ae2478dda76c.tar.gz |
Use USE_REINPLACE.
Diffstat (limited to 'sysutils/gnome-system-monitor')
-rw-r--r-- | sysutils/gnome-system-monitor/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sysutils/gnome-system-monitor/Makefile b/sysutils/gnome-system-monitor/Makefile index 506a5f2..eb1bcbe 100644 --- a/sysutils/gnome-system-monitor/Makefile +++ b/sysutils/gnome-system-monitor/Makefile @@ -22,6 +22,7 @@ LIB_DEPENDS= gnomeui-2.0:${PORTSDIR}/x11-toolkits/libgnomeui \ USE_BZIP2= yes USE_X_PREFIX= yes USE_GMAKE= yes +USE_REINPLACE= yes USE_LIBTOOL= yes CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \ --datadir=${PREFIX}/share/gnome @@ -30,10 +31,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> |