pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/pkgsrc-2009Q4]: pkgsrc/print/ghostscript Pullup ticket #2977 - reques...
details: https://anonhg.NetBSD.org/pkgsrc/rev/bb2bad796149
branches: pkgsrc-2009Q4
changeset: 569222:bb2bad796149
user: tron <tron%pkgsrc.org@localhost>
date: Thu Jan 28 10:16:14 2010 +0000
description:
Pullup ticket #2977 - requested by tnn
ghostscript: build fix
Revisions pulled up:
- print/ghostscript/Makefile 1.74
---
Module Name: pkgsrc
Committed By: tnn
Date: Wed Jan 20 08:50:16 UTC 2010
Modified Files:
pkgsrc/print/ghostscript: Makefile
Log Message:
Remove list of platforms needing -fPIC. Enable it always when using GCC.
Fixes DragonFly PR pkg/42644.
diffstat:
print/ghostscript/Makefile | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r 5ae1c8dc07fc -r bb2bad796149 print/ghostscript/Makefile
--- a/print/ghostscript/Makefile Wed Jan 27 17:40:52 2010 +0000
+++ b/print/ghostscript/Makefile Thu Jan 28 10:16:14 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.72 2009/12/23 13:27:58 drochner Exp $
+# $NetBSD: Makefile,v 1.72.2.1 2010/01/28 10:16:14 tron Exp $
DISTNAME= ghostscript-8.70
PKGREVISION= 2
@@ -38,6 +38,7 @@
CPPFLAGS+= -Ijpeg
.include "../../mk/bsd.prefs.mk"
+.include "../../mk/compiler.mk"
.if defined(PAPERSIZE) && (${PAPERSIZE} == "A4" || ${PAPERSIZE} == "a4")
CFLAGS+= -DA4
@@ -58,9 +59,9 @@
# On Linux-*-x86_64, there was an error message:
# gp_unix.o: relocation R_X86_64_32 against `a local symbol' can not be
# used when making a shared object; recompile with -fPIC
-CFLAGS.NetBSD= -fPIC
-CFLAGS.Linux= -fPIC
-CFLAGS.SunOS= -fPIC
+.if !empty(PKGSRC_COMPILER:Mgcc)
+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.
Home |
Main Index |
Thread Index |
Old Index