summaryrefslogtreecommitdiff
path: root/print/ghostscript
diff options
context:
space:
mode:
authorjoerg <joerg>2011-07-21 17:06:18 +0000
committerjoerg <joerg>2011-07-21 17:06:18 +0000
commit9204b2f90965afd6bb63a9bf987c32d6996d2e9c (patch)
tree3899340ef5e0c9a0a0f52886a39d485710487338 /print/ghostscript
parent840213dccb521126eb274f63d5d2d0b9e14b466d (diff)
downloadpkgsrc-9204b2f90965afd6bb63a9bf987c32d6996d2e9c.tar.gz
Clang build needs -fPIC too.
Diffstat (limited to 'print/ghostscript')
-rw-r--r--print/ghostscript/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/print/ghostscript/Makefile b/print/ghostscript/Makefile
index 6411f8de2db..435d055eefc 100644
--- a/print/ghostscript/Makefile
+++ b/print/ghostscript/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.83 2011/01/13 13:36:06 wiz Exp $
+# $NetBSD: Makefile,v 1.84 2011/07/21 17:06:18 joerg Exp $
DISTNAME= ghostscript-8.71
PKGREVISION= 7
@@ -59,7 +59,7 @@ CONFIGURE_ENV+= ac_cv_func_fopen64=no
# 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
-.if !empty(PKGSRC_COMPILER:Mgcc)
+.if !empty(PKGSRC_COMPILER:Mgcc) || !empty(PKGSRC_COMPILER:Mclang)
CFLAGS+= -fPIC
.endif