aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-09-28 22:58:45 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-09-28 22:58:45 +0000
commit49dda8d0284c06ea77b5b1975fd723f7f6676e2f (patch)
tree043828b69e98fc887bcd3fd36583c8e3dd4d725a /comms
parentddf5c7396b0c2c619ca41e5734ca8138708b9bb7 (diff)
downloadports-49dda8d0284c06ea77b5b1975fd723f7f6676e2f.tar.gz
ports-49dda8d0284c06ea77b5b1975fd723f7f6676e2f.zip
Notes
Diffstat (limited to 'comms')
-rw-r--r--comms/hylafax/Makefile5
-rw-r--r--comms/hylafax/files/patch-util::faxrcvd.sh.in10
2 files changed, 14 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-`"
diff --git a/comms/hylafax/files/patch-util::faxrcvd.sh.in b/comms/hylafax/files/patch-util::faxrcvd.sh.in
new file mode 100644
index 000000000000..224331f4b89e
--- /dev/null
+++ b/comms/hylafax/files/patch-util::faxrcvd.sh.in
@@ -0,0 +1,10 @@
+--- util/faxrcvd.sh.in.orig Sun Sep 28 15:54:52 2003
++++ util/faxrcvd.sh.in Sun Sep 28 15:56:06 2003
+@@ -51,6 +51,7 @@
+ }
+ . etc/setup.cache
+
++export PATH=$PATH:%%LOCALBASE%%/bin
+ INFO=$SBIN/faxinfo
+ FAX2PS=$TIFFBIN/fax2ps
+ MIMENCODE=mimencode