pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/ghostscript Fix build on IRIX by ensuring -lfont...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a79b82d7099b
branches:  trunk
changeset: 542451:a79b82d7099b
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat May 17 20:57:29 2008 +0000

description:
Fix build on IRIX by ensuring -lfontconfig links with -liconv.

diffstat:

 print/ghostscript/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r f9aa9937d443 -r a79b82d7099b print/ghostscript/Makefile
--- a/print/ghostscript/Makefile        Sat May 17 20:52:13 2008 +0000
+++ b/print/ghostscript/Makefile        Sat May 17 20:57:29 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2008/03/10 12:34:10 wiz Exp $
+# $NetBSD: Makefile,v 1.48 2008/05/17 20:57:29 tnn Exp $
 
 DISTNAME=      ghostscript-8.62
 PKGREVISION=   2
@@ -45,6 +45,12 @@
 CONFIGURE_ENV+=                ac_cv_func_fopen64=no
 .endif
 
+# Interim IRIX build fix, the real problem is that fontconfig.pc doesn't
+# require linking against libiconv when it should do so.
+.if ${OPSYS} == "IRIX"
+BUILDLINK_TRANSFORM+=  l:fontconfig:fontconfig:iconv
+.endif
+
 post-extract:
        ${MKDIR} ${WRKSRC}/bin
        ${MKDIR} ${WRKSRC}/obj



Home | Main Index | Thread Index | Old Index