aboutsummaryrefslogtreecommitdiff
path: root/misc/findutils
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 /misc/findutils
parent3f33af92d9829ce9d687e40c494369892fe87192 (diff)
downloadports-7ef18f14299563025b37cc14ad88ee23667cf783.tar.gz
ports-7ef18f14299563025b37cc14ad88ee23667cf783.zip
Notes
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