summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2008-05-17 20:57:29 +0000
committertnn <tnn@pkgsrc.org>2008-05-17 20:57:29 +0000
commitb6c9ff8b98b4691ec50803fc2fcf7966380fa98b (patch)
tree148e028ca391ed8760d916b68a5ab270d2c6d74b /print
parentd30465d2cacccfb73026a8b8717ddbe656453e80 (diff)
downloadpkgsrc-b6c9ff8b98b4691ec50803fc2fcf7966380fa98b.tar.gz
Fix build on IRIX by ensuring -lfontconfig links with -liconv.
Diffstat (limited to 'print')
-rw-r--r--print/ghostscript/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/print/ghostscript/Makefile b/print/ghostscript/Makefile
index 40a15d89ae3..2d3fd80c185 100644
--- a/print/ghostscript/Makefile
+++ b/print/ghostscript/Makefile
@@ -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 @@ SUBST_SED.resdir= -e "s|/Resource/|${GS_RESOURCEDIR}/|g"
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