summaryrefslogtreecommitdiff
path: root/textproc/gsed
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-24 04:44:17 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-24 04:44:17 +0000
commit7ef18f14299563025b37cc14ad88ee23667cf783 (patch)
tree28778dac4b4bd95a8dddcdd306c27fb2b47a1448 /textproc/gsed
parentFix properly for building under -current (diff)
${PERL} -> ${REINPLACE_CMD}
PR: 39746 Submitted by: Cyrille Lefevre <cyrille.lefevre@laposte.net> (maintainer)
Diffstat (limited to 'textproc/gsed')
-rw-r--r--textproc/gsed/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/textproc/gsed/Makefile b/textproc/gsed/Makefile
index 82610ad75613..ca083b665b64 100644
--- a/textproc/gsed/Makefile
+++ b/textproc/gsed/Makefile
@@ -17,10 +17,9 @@ MAINTAINER= cyrille.lefevre@laposte.net
# Global variables
#
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
-# PREFIX isn't honored. force it w/ prefix.
-MAKE_ARGS= prefix=${PREFIX}
MAN1= gsed.1
@@ -39,7 +38,7 @@ post-configure: patch-makefiles
patch-makefiles:
.for subdir in ${PATCH_SUBDIRS}
- @${PERL} -pi.fbsd -e 's/s,x,x,/s,^,g,/' ${WRKSRC}/${subdir}/Makefile
+ @${REINPLACE_CMD} -e 's|s,x,x,|s,^,g,|' ${WRKSRC}/${subdir}/Makefile
.endfor
# Post-install