summaryrefslogtreecommitdiffstats
path: root/comms/hylafax
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-09-28 22:58:45 +0000
committeredwin <edwin@FreeBSD.org>2003-09-28 22:58:45 +0000
commit1cd93fb3e588eecd5a885d96515a573c0e783007 (patch)
tree3bd6b2f27066f01d853b9b035a79e1c9d770d55f /comms/hylafax
parent4d65c89a77109583f2b7f632d81ba0ff558418cd (diff)
downloadFreeBSD-ports-1cd93fb3e588eecd5a885d96515a573c0e783007.zip
FreeBSD-ports-1cd93fb3e588eecd5a885d96515a573c0e783007.tar.gz
[Port fix] comms/hylafax 4.1.7 (bin/faxrcvd)
A fix enabling recieved faxes to be send by email as pdf-files. The fix was kindly provided by Matthias Fechner. PR: ports/56733 Submitted by: Paul Everlund <tdv94ped@cs.umu.se>
Diffstat (limited to 'comms/hylafax')
-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 c082f8d..8e70254 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 0000000..224331f
--- /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
OpenPOWER on IntegriCloud