aboutsummaryrefslogtreecommitdiffstats
path: root/x11/gdkxft
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2002-06-27 21:32:14 +0800
committerperky <perky@FreeBSD.org>2002-06-27 21:32:14 +0800
commite03ed95d35f2a8022a93434d49067aefe8bc1658 (patch)
tree7053d546b50dc8c80f77d56d5fb698de14173c30 /x11/gdkxft
parent281286e8b38f321865bf28d5537decbcc8db77c5 (diff)
downloadfreebsd-ports-gnome-e03ed95d35f2a8022a93434d49067aefe8bc1658.tar.gz
freebsd-ports-gnome-e03ed95d35f2a8022a93434d49067aefe8bc1658.tar.zst
freebsd-ports-gnome-e03ed95d35f2a8022a93434d49067aefe8bc1658.zip
PERL -> REINPLACE_CMD
PR: 39262, 39263, 39264, 39265, 39266, 39267 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Diffstat (limited to 'x11/gdkxft')
-rw-r--r--x11/gdkxft/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/x11/gdkxft/Makefile b/x11/gdkxft/Makefile
index a20421b909e4..ecd3b745404e 100644
--- a/x11/gdkxft/Makefile
+++ b/x11/gdkxft/Makefile
@@ -18,6 +18,7 @@ LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
USE_X_PREFIX= yes
USE_GTK= yes
+USE_REINPLACE= yes
WANT_GNOME= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
@@ -40,18 +41,18 @@ CONFIGURE_ARGS+= --without-gnome
.endif
post-patch:
- @${PERL} -pi -e 's|gtk-config --prefix|\$$GTK_CONFIG --prefix|g ; \
+ @${REINPLACE_CMD} -e 's|gtk-config --prefix|\$$GTK_CONFIG --prefix|g ; \
s|libgdk.la|libgdk12.so|g ; \
s|libgdk.so|libgdk12.so|g ; \
s|GDK_DLOPEN_NAME=.*$$|GDK_DLOPEN_NAME="libgdk12.so"|g' \
${WRKSRC}/configure
- @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \
's|src capplet|src \@BUILD_CAPPLET_TRUE\@capplet|g ; \
- s|DESTDIR\)\$$\(datadir|DESTDIR\)\$$\(pkgdatadir|g ; \
+ s|DESTDIR)\$$(datadir|DESTDIR\)\$$\(pkgdatadir|g ; \
s|/gnome/apps/|/apps/|g ; \
s|la_LDFLAGS =.*$$|la_LDFLAGS = -module -avoid-version|g'
.for file in gdkxft_sysinstall.in gdkxft.c generate.pl
- @${PERL} -pi -e 's|<regex.h>|<gnuregex.h>|g ; \
+ @${REINPLACE_CMD} -e 's|<regex.h>|<gnuregex.h>|g ; \
s|gtk-config |${GTK_CONFIG:T} |g' ${WRKSRC}/src/${file}
.endfor