diff options
author | tron <tron> | 2008-09-05 15:50:03 +0000 |
---|---|---|
committer | tron <tron> | 2008-09-05 15:50:03 +0000 |
commit | 957774d9e62ef343a5ffea96463d9da4aeecbb50 (patch) | |
tree | 06dba803f5d21ff63d450e54696b224adf80c3a0 /print/ghostscript | |
parent | f5ded7dd3246e807c8779233f56e631e6299f291 (diff) | |
download | pkgsrc-957774d9e62ef343a5ffea96463d9da4aeecbb50.tar.gz |
Compile with "-fPIC" under NetBSD to fix amd64 build problems.
Diffstat (limited to 'print/ghostscript')
-rw-r--r-- | print/ghostscript/Makefile | 6 |
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" |