diff options
author | tnn <tnn@pkgsrc.org> | 2008-05-17 20:57:29 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2008-05-17 20:57:29 +0000 |
commit | b6c9ff8b98b4691ec50803fc2fcf7966380fa98b (patch) | |
tree | 148e028ca391ed8760d916b68a5ab270d2c6d74b | |
parent | d30465d2cacccfb73026a8b8717ddbe656453e80 (diff) | |
download | pkgsrc-b6c9ff8b98b4691ec50803fc2fcf7966380fa98b.tar.gz |
Fix build on IRIX by ensuring -lfontconfig links with -liconv.
-rw-r--r-- | print/ghostscript/Makefile | 8 |
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 |