aboutsummaryrefslogtreecommitdiff
path: root/comms/hylafax/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'comms/hylafax/Makefile')
-rw-r--r--comms/hylafax/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/comms/hylafax/Makefile b/comms/hylafax/Makefile
index c082f8da8b69..8e70254e16ab 100644
--- a/comms/hylafax/Makefile
+++ b/comms/hylafax/Makefile
@@ -67,9 +67,12 @@ post-extract:
${RM} -rf ${WRKSRC}/zlib ${WRKSRC}/regex
post-patch:
- ${REINPLACE_CMD} -E \
+ ${REINPLACE_CMD} \
-e 's,/usr/local,${LOCALBASE},g' \
${WRKSRC}/configure
+ ${REINPLACE_CMD} \
+ -e 's,%%LOCALBASE%%,${LOCALBASE},g' \
+ ${WRKSRC}/util/faxrcvd.sh.in
pre-install:
PLIST_SUB= SPOOL="`${GREP} SPOOL ${WRKSRC}/defs | ${CUT} -c10-`"