summaryrefslogtreecommitdiff
path: root/print/ghostscript/Makefile
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2008-09-05 15:50:03 +0000
committertron <tron@pkgsrc.org>2008-09-05 15:50:03 +0000
commit2034ad1acfcc053ca180e261f5164363b9d0fcac (patch)
tree06dba803f5d21ff63d450e54696b224adf80c3a0 /print/ghostscript/Makefile
parent6ac689b419dffe923787083f65a629c2ff74ff9f (diff)
downloadpkgsrc-2034ad1acfcc053ca180e261f5164363b9d0fcac.tar.gz
Compile with "-fPIC" under NetBSD to fix amd64 build problems.
Diffstat (limited to 'print/ghostscript/Makefile')
-rw-r--r--print/ghostscript/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/print/ghostscript/Makefile b/print/ghostscript/Makefile
index 324e699d9c5..4021c7c2d4c 100644
--- a/print/ghostscript/Makefile
+++ b/print/ghostscript/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.51 2008/09/03 21:31:12 markd Exp $
+# $NetBSD: Makefile,v 1.52 2008/09/05 15:50:03 tron Exp $
DISTNAME= ghostscript-8.63
PKGREVISION= 1
@@ -50,6 +50,10 @@ SUBST_SED.resdir= -e "s|/Resource/|${GS_RESOURCEDIR}/|g"
CONFIGURE_ENV+= ac_cv_func_fopen64=no
.endif
+.if ${OPSYS} == "NetBSD"
+CFLAGS+= -fPIC
+.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"