summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 01:56:21 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 01:56:21 +0000
commit558f2d386cc2fb507128c69e3123825cc9319f70 (patch)
treea4bf1558c72e69722c0115ae135fe79117b35041 /textproc
parentPort needs Perl to build. (diff)
PERL -> REINPLACE
Noticed on: bento
Notes
Notes: svn path=/head/; revision=69421
Diffstat (limited to 'textproc')
-rw-r--r--textproc/textutils/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/textproc/textutils/Makefile b/textproc/textutils/Makefile
index b41a0ad7b68a..385e79725cde 100644
--- a/textproc/textutils/Makefile
+++ b/textproc/textutils/Makefile
@@ -17,6 +17,7 @@ MAINTAINER= aw1@stade.co.uk
LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext
USE_GMAKE= yes
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@@ -29,7 +30,7 @@ MAN1= gcomm.1 gcsplit.1 gcut.1 gexpand.1 gfmt.1 ghead.1 \
gsplit.1 gunexpand.1
pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure