aboutsummaryrefslogtreecommitdiffstats
path: root/misc/findutils
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-06-24 12:44:17 +0800
committerijliao <ijliao@FreeBSD.org>2002-06-24 12:44:17 +0800
commitc763050df812af11e0607dd7d69b31ab067c093c (patch)
treeaa116af2ce179457b332c1e5de24e02d0c179cfa /misc/findutils
parent06e61ce578bc86c82cd449bb52d230bb3d20e8cc (diff)
downloadfreebsd-ports-gnome-c763050df812af11e0607dd7d69b31ab067c093c.tar.gz
freebsd-ports-gnome-c763050df812af11e0607dd7d69b31ab067c093c.tar.zst
freebsd-ports-gnome-c763050df812af11e0607dd7d69b31ab067c093c.zip
${PERL} -> ${REINPLACE_CMD}
PR: 39746 Submitted by: Cyrille Lefevre <cyrille.lefevre@laposte.net> (maintainer)
Diffstat (limited to 'misc/findutils')
-rw-r--r--misc/findutils/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/misc/findutils/Makefile b/misc/findutils/Makefile
index 8b020cb43e99..552780cbccec 100644
--- a/misc/findutils/Makefile
+++ b/misc/findutils/Makefile
@@ -17,14 +17,12 @@ MAINTAINER= cyrille.lefevre@laposte.net
# Global variables
#
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
+USE_GMAKE= yes
CONFIGURE_ARGS= --program-prefix=g # --localstatedir=${LOCALSTATEDIR}
MAKE_ARGS= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
-USE_GMAKE= yes
-# PREFIX isn't honored. force it w/ prefix.
-MAKE_ARGS+= prefix=${PREFIX}
-
MAN1= gfind.1 gxargs.1 glocate.1 gupdatedb.1
MAN5= glocatedb.5
@@ -45,7 +43,7 @@ post-extract:
#
post-patch:
- @${PERL} -pi.fbsd -e 's|makeinfo|makeinfo --no-split|g' \
+ @${REINPLACE_CMD} -e 's|makeinfo|makeinfo --no-split|g' \
${WRKSRC}/doc/Makefile.in
# Post-configure
@@ -53,7 +51,7 @@ post-patch:
# --localstatedir= isn't handled right now, so, do it manually.
post-configure:
- @${PERL} -pi.fbsd -e 's|\$$\(prefix\)/var|${LOCALSTATEDIR}|g' \
+ @${REINPLACE_CMD} -e 's|\$$\(prefix\)/var|${LOCALSTATEDIR}|g' \
${WRKSRC}/Makefile ${WRKSRC}/locate/Makefile
# Post-install