pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/ghostscript Compile with "-fPIC" under NetBSD to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b5f9f3fee9a1
branches:  trunk
changeset: 546592:b5f9f3fee9a1
user:      tron <tron%pkgsrc.org@localhost>
date:      Fri Sep 05 15:50:03 2008 +0000

description:
Compile with "-fPIC" under NetBSD to fix amd64 build problems.

diffstat:

 print/ghostscript/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 54c89b0633b2 -r b5f9f3fee9a1 print/ghostscript/Makefile
--- a/print/ghostscript/Makefile        Fri Sep 05 15:46:51 2008 +0000
+++ b/print/ghostscript/Makefile        Fri Sep 05 15:50:03 2008 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index