summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-07-31 09:47:20 +0000
committernia <nia@pkgsrc.org>2019-07-31 09:47:20 +0000
commit06e8acd9436cb638434c36f89b23aaf7af8f6628 (patch)
treef5ad047ce1980a4a1926a979903a361949e4c58d /graphics
parent93101945df81347af6d99f4a2fba81df7e567b8a (diff)
downloadpkgsrc-06e8acd9436cb638434c36f89b23aaf7af8f6628.tar.gz
exiv2: add -fPIC to maybe help the errors coming from the Solaris linker
Diffstat (limited to 'graphics')
-rw-r--r--graphics/exiv2/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/exiv2/Makefile b/graphics/exiv2/Makefile
index e993bdda344..049dab413fe 100644
--- a/graphics/exiv2/Makefile
+++ b/graphics/exiv2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2019/07/31 09:16:26 nia Exp $
+# $NetBSD: Makefile,v 1.44 2019/07/31 09:47:20 nia Exp $
DISTNAME= exiv2-0.27.2-Source
PKGNAME= ${DISTNAME:S/-Source//}
@@ -25,6 +25,8 @@ CMAKE_ARGS+= -DIntl_INCLUDE_DIR=${BUILDLINK_PREFIX.gettext}/include
LDFLAGS.Linux+= -ldl
LDFLAGS.SunOS+= -lsocket -lnsl
+CXXFLAGS.SunOS+= -fPIC
+
USE_PKGLOCALEDIR= yes
PKGCONFIG_OVERRIDE= config/exiv2.pc.in