From 27b58e05583dbd0dbed960cf162e599ebc0f227b Mon Sep 17 00:00:00 2001 From: ijliao Date: Mon, 8 Jul 2002 10:41:30 +0000 Subject: PERL -> REINPLACE_CMD PR: 39938 Submitted by: Oliver Braun --- multimedia/gsubedit/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'multimedia/gsubedit') diff --git a/multimedia/gsubedit/Makefile b/multimedia/gsubedit/Makefile index 912598a18b4c..956d6fcf192d 100644 --- a/multimedia/gsubedit/Makefile +++ b/multimedia/gsubedit/Makefile @@ -15,6 +15,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org +USE_REINPLACE= yes USE_X_PREFIX= yes USE_GMAKE= yes USE_GNOME= yes @@ -23,14 +24,14 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" post-patch: - @${PERL} -pi -e 's|Bison |Bison|g ; \ + @${REINPLACE_CMD} -e 's|Bison |Bison|g ; \ s|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g ; \ s|share/pixmaps|share/gnome/pixmaps|g' ${WRKSRC}/configure - @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${PERL} -pi -e \ + @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \ 's|^gsubeditdoc|#gsubeditdoc|g ; \ s|-g -O2|| ; \ - s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|' + s|\$$(datadir)/locale|\$$(prefix)/share/locale|' post-install: .if !defined(NOPORTDOCS) -- cgit