pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/exiv2 exiv2: add -fPIC to maybe help the erro...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ef404fa09ab1
branches:  trunk
changeset: 337024:ef404fa09ab1
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Jul 31 09:47:20 2019 +0000

description:
exiv2: add -fPIC to maybe help the errors coming from the Solaris linker

diffstat:

 graphics/exiv2/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 5c8210409ea0 -r ef404fa09ab1 graphics/exiv2/Makefile
--- a/graphics/exiv2/Makefile   Wed Jul 31 09:39:56 2019 +0000
+++ b/graphics/exiv2/Makefile   Wed Jul 31 09:47:20 2019 +0000
@@ -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 @@
 LDFLAGS.Linux+=        -ldl
 LDFLAGS.SunOS+=        -lsocket -lnsl
 
+CXXFLAGS.SunOS+=       -fPIC
+
 USE_PKGLOCALEDIR=      yes
 PKGCONFIG_OVERRIDE=    config/exiv2.pc.in
 



Home | Main Index | Thread Index | Old Index