aboutsummaryrefslogtreecommitdiffstats
path: root/audio/gnomemedia2
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-07-11 23:31:46 +0800
committersobomax <sobomax@FreeBSD.org>2002-07-11 23:31:46 +0800
commit56dc32204bad654a33f748f15525ae2478dda76c (patch)
tree3937ab3f9e452769dfc3da529bc9b040b4183bc3 /audio/gnomemedia2
parent169df2917434face98111a403e13db5d03f78444 (diff)
downloadfreebsd-ports-graphics-56dc32204bad654a33f748f15525ae2478dda76c.tar.gz
freebsd-ports-graphics-56dc32204bad654a33f748f15525ae2478dda76c.tar.zst
freebsd-ports-graphics-56dc32204bad654a33f748f15525ae2478dda76c.zip
Use USE_REINPLACE.
Diffstat (limited to 'audio/gnomemedia2')
-rw-r--r--audio/gnomemedia2/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/audio/gnomemedia2/Makefile b/audio/gnomemedia2/Makefile
index 6f1df4e9fdd..f80b214ba84 100644
--- a/audio/gnomemedia2/Makefile
+++ b/audio/gnomemedia2/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
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
@@ -31,11 +32,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|\$\(libdir\)/bonobo/servers|\$\(prefix\)/libdata/bonobo/servers|g ; \
- s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \
+ 's|[(]datadir[)]/gnome/|(datadir)/|g ; \
+ s|[(]libdir[)]/bonobo/servers|(prefix)/libdata/bonobo/servers|g ; \
+ s|[(]datadir[)]/locale|(prefix)/share/locale|g'
.include <bsd.port.mk>