diff options
author | rillig <rillig> | 2008-12-01 07:49:22 +0000 |
---|---|---|
committer | rillig <rillig> | 2008-12-01 07:49:22 +0000 |
commit | 7254049f912780b71e9eff8b4140f31d8f562417 (patch) | |
tree | bf221ca0735cef4bcde79350c187a07b99f3fae5 /print | |
parent | 19f8d3456cc210e2136b3403d551224f4847b4f0 (diff) | |
download | pkgsrc-7254049f912780b71e9eff8b4140f31d8f562417.tar.gz |
Added -fPIC for Linux, since it was reported to be necessary on x86_64
platforms via pkgsrc-users.
Diffstat (limited to 'print')
-rw-r--r-- | print/ghostscript/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/print/ghostscript/Makefile b/print/ghostscript/Makefile index c7af28c5497..4993acc35e5 100644 --- a/print/ghostscript/Makefile +++ b/print/ghostscript/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.53 2008/11/13 17:36:54 chuck Exp $ +# $NetBSD: Makefile,v 1.54 2008/12/01 07:49:22 rillig Exp $ DISTNAME= ghostscript-8.63 PKGREVISION= 1 @@ -50,9 +50,11 @@ SUBST_SED.resdir= -e "s|/Resource/|${GS_RESOURCEDIR}/|g" CONFIGURE_ENV+= ac_cv_func_fopen64=no .endif -.if ${OPSYS} == "NetBSD" -CFLAGS+= -fPIC -.endif +# 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 ###.if ${OPSYS} == "Darwin" ###MAKEFLAGS= "LDFLAGS_SO=-dynamiclib" |