pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/leveldb leveldb: Enable -fPIC to avoid link ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cbc8fea38875
branches:  trunk
changeset: 447385:cbc8fea38875
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Sat Feb 20 13:45:35 2021 +0000

description:
leveldb: Enable -fPIC to avoid link errors by consumer, upcoming librime-1.7.2

diffstat:

 databases/leveldb/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 7ef99f01b6fb -r cbc8fea38875 databases/leveldb/Makefile
--- a/databases/leveldb/Makefile        Sat Feb 20 13:40:22 2021 +0000
+++ b/databases/leveldb/Makefile        Sat Feb 20 13:45:35 2021 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2019/06/05 13:22:04 adam Exp $
+# $NetBSD: Makefile,v 1.3 2021/02/20 13:45:35 ryoon Exp $
 
 DISTNAME=      leveldb-1.22
+PKGREVISION=   1
 CATEGORIES=    databases
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=google/}
 
@@ -14,5 +15,7 @@
 CMAKE_ARGS+=   -DLEVELDB_BUILD_BENCHMARKS=OFF
 TEST_TARGET=   test
 
+CFLAGS+=       -fPIC
+
 .include "../../devel/snappy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index