diff options
author | nia <nia@pkgsrc.org> | 2019-07-31 09:47:20 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2019-07-31 09:47:20 +0000 |
commit | 06e8acd9436cb638434c36f89b23aaf7af8f6628 (patch) | |
tree | f5ad047ce1980a4a1926a979903a361949e4c58d | |
parent | 93101945df81347af6d99f4a2fba81df7e567b8a (diff) | |
download | pkgsrc-06e8acd9436cb638434c36f89b23aaf7af8f6628.tar.gz |
exiv2: add -fPIC to maybe help the errors coming from the Solaris linker
-rw-r--r-- | graphics/exiv2/Makefile | 4 |
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 |