Peter Fraser <p...@thinkage.ca> wrote:
> I assume  the error is caused by a misconfigured hyla.conf located at 
> /usr/local/libdata/hylafax/etc/hyla.conf 
> which I currently have as 
> 
> FontMap:/usr/local/share/ghostscript/fonts/fonts.alias:/usr/local/share/ghostscript/fonts/fonts.alias-gs
> FontPath:/usr/local/share/ghostscript/fonts/fonts.dir
> TextFont:Courier
> 
This a correct FontMap I have:
FontMap:   
/usr/local/share/ghostscript/9.06/Resource/Init:/usr/local/share/ghostscript/9.06/lib:/usr/local/share/ghostscript/9.06/Resource/Font:/usr/local/share/ghostscript/fonts:/usr/local/libdata/hylafax/etc

Here is a patch to fix the issue, in post-install a hyla.conf will be created 
as a "hint" for faxsetup.
-----------------------------------------------------------------------------------------
Index: Makefile
===================================================================
RCS file: /cvs/ports/comms/hylafax/Makefile,v
retrieving revision 1.68
diff -u -p -u -p -r1.68 Makefile
--- Makefile    12 Apr 2013 14:06:38 -0000      1.68
+++ Makefile    12 Jun 2013 17:32:06 -0000
@@ -2,7 +2,7 @@
 
 COMMENT=               send/receive faxes and share modems
 DISTNAME=              hylafax-6.0.6
-REVISION=0
+REVISION=              1
 CATEGORIES=            comms
 
 HOMEPAGE=              http://www.HylaFAX.org/
@@ -58,5 +58,8 @@ NO_TEST=      Yes
 
 pre-configure:
        ${SUBST_CMD} ${WRKSRC}/configure
+
+post-install:
+       echo "FontMap: ${TRUEPREFIX}/share/ghostscript/fonts" 
>${PREFIX}/libdata/hylafax/etc/hyla.conf
 
 .include <bsd.port.mk>
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/comms/hylafax/pkg/PLIST,v
retrieving revision 1.19
diff -u -p -u -p -r1.19 PLIST
--- pkg/PLIST   19 Jul 2012 15:05:30 -0000      1.19
+++ pkg/PLIST   12 Jun 2013 17:32:06 -0000
@@ -133,6 +133,7 @@ libdata/hylafax/etc/faxcover_example_sgi
 libdata/hylafax/etc/faxmail.ps
 libdata/hylafax/etc/hfaxd.conf
 libdata/hylafax/etc/hosts.hfaxd
+libdata/hylafax/etc/hyla.conf
 libdata/hylafax/etc/lutRS18.pcf
 libdata/hylafax/etc/pagesizes
 libdata/hylafax/etc/templates/
-----------------------------------------------------------------------------------------
> Use Class 1 unless you have a good reason not to.
> 
> grep: ": No such file or directory
is the tty you specified correct ?
 Cheers
  Giovanni

Reply via email to