aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/libgnomeui
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-07-18 16:05:23 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-07-18 16:05:23 +0000
commit401ab0f9659188c7eb6d1da3540734e458e021b6 (patch)
tree3e4327652dd0c0f0b8e90ffa2c0b52af344f3817 /x11-toolkits/libgnomeui
parente7b985a6bfc8bacb9a52afd466c13442ca827537 (diff)
downloadports-401ab0f9659188c7eb6d1da3540734e458e021b6.tar.gz
ports-401ab0f9659188c7eb6d1da3540734e458e021b6.zip
Notes
Diffstat (limited to 'x11-toolkits/libgnomeui')
-rw-r--r--x11-toolkits/libgnomeui/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/x11-toolkits/libgnomeui/Makefile b/x11-toolkits/libgnomeui/Makefile
index f4f9375acaea..75f0c054b8e1 100644
--- a/x11-toolkits/libgnomeui/Makefile
+++ b/x11-toolkits/libgnomeui/Makefile
@@ -20,6 +20,7 @@ USE_BZIP2= yes
USE_X_PREFIX= yes
USE_XPM= yes
USE_GMAKE= yes
+USE_REINPLACE= yes
INSTALLS_SHLIB= yes
USE_LIBTOOL= yes
USE_BISON= yes
@@ -32,10 +33,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\)/locale|\$\(prefix\)/share/locale|g ; \
- s|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g'
+ @find ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} -e \
+ 's|[(]datadir[)]/locale|(prefix)/share/locale|g ; \
+ s|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g'
.include <bsd.port.mk>