pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/lmdb databases/lmdb needs -lrt on Solaris 10...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d3e4aea7be69
branches:  trunk
changeset: 454303:d3e4aea7be69
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Wed Jun 09 02:37:09 2021 +0000

description:
databases/lmdb needs -lrt on Solaris 10. PR 56038 from Malte Dehling.

diffstat:

 databases/lmdb/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 359fcecd401e -r d3e4aea7be69 databases/lmdb/Makefile
--- a/databases/lmdb/Makefile   Tue Jun 08 22:51:11 2021 +0000
+++ b/databases/lmdb/Makefile   Wed Jun 09 02:37:09 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2021/03/16 19:49:15 adam Exp $
+# $NetBSD: Makefile,v 1.19 2021/06/09 02:37:09 dholland Exp $
 
 .include "../../databases/openldap/Makefile.version"
 
@@ -25,6 +25,11 @@
 TEST_TARGET=           test
 
 .include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS" && (${OS_VERSION} == "5.9" || ${OS_VERSION} == "5.10")
+LDFLAGS+=              -lrt
+.endif
+
 .if ${OPSYS} == "Darwin"
 MAKE_FLAGS+=   SOEXT=.dylib
 MAKE_FLAGS+=   SOLIBS=-install_name\ ${PREFIX}/lib/liblmdb.dylib



Home | Main Index | Thread Index | Old Index