aboutsummaryrefslogtreecommitdiff
path: root/comms/hylafax
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2002-09-02 21:24:00 +0000
committerMikhail Teterin <mi@FreeBSD.org>2002-09-02 21:24:00 +0000
commit2f1e66051094b3e613cbf21e1944a97c0dc1cfd3 (patch)
tree6d4594c7ccafc635630de60d45db1c5e41629150 /comms/hylafax
parent1848876465a10b0adddb2385abe86144f0f07e6f (diff)
downloadports-2f1e66051094b3e613cbf21e1944a97c0dc1cfd3.tar.gz
ports-2f1e66051094b3e613cbf21e1944a97c0dc1cfd3.zip
Notes
Diffstat (limited to 'comms/hylafax')
-rw-r--r--comms/hylafax/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/comms/hylafax/Makefile b/comms/hylafax/Makefile
index 6b67bbaa4490..bc5a5e76ff86 100644
--- a/comms/hylafax/Makefile
+++ b/comms/hylafax/Makefile
@@ -36,7 +36,6 @@ CONFIGURE_ARGS+=--nointeractive
.endif
MAKE_ARGS+= OPTIMIZER="" -EOPTIMIZER
-USE_REINPLACE= yes
HAS_CONFIGURE= yes
CONFIGURE_ENV= ENVOPTS="${CFLAGS}"
@@ -75,10 +74,12 @@ post-install:
.include <bsd.port.pre.mk>
.if ${LOCALBASE} != /usr/local
+USE_REINPLACE= yes
+REINPLACE_ARGS= -i ""
post-patch:
${REINPLACE_CMD} -e 's^/usr/local^${LOCALBASE}^g' \
- `find work/hylafax-4.1 -type f -print0 | \
- xargs -0 fgrep -l --mmap /usr/local`
+ `find ${WRKSRC} -type f -print0 | \
+ xargs -0 ${GREP} -F -l --mmap /usr/local`
.endif
.include <bsd.port.post.mk>