aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/libgnomeprintui
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/libgnomeprintui
parente7b985a6bfc8bacb9a52afd466c13442ca827537 (diff)
downloadports-401ab0f9659188c7eb6d1da3540734e458e021b6.tar.gz
ports-401ab0f9659188c7eb6d1da3540734e458e021b6.zip
Notes
Diffstat (limited to 'x11-toolkits/libgnomeprintui')
-rw-r--r--x11-toolkits/libgnomeprintui/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/x11-toolkits/libgnomeprintui/Makefile b/x11-toolkits/libgnomeprintui/Makefile
index d7fddb89270f..60931ac76c2f 100644
--- a/x11-toolkits/libgnomeprintui/Makefile
+++ b/x11-toolkits/libgnomeprintui/Makefile
@@ -21,6 +21,7 @@ USE_BZIP2= yes
USE_X_PREFIX= yes
USE_XPM= yes
USE_GMAKE= yes
+USE_REINPLACE= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
USE_BISON= yes
@@ -33,10 +34,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>