pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/nss nss: Add -lrt for sem_wait(3) on NetBSD



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f612823b5496
branches:  trunk
changeset: 426810:f612823b5496
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Mon Apr 06 13:40:18 2020 +0000

description:
nss: Add -lrt for sem_wait(3) on NetBSD

* Fix build under NetBSD/amd64-current with binutils 2.34.

diffstat:

 devel/nss/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 69ae10b995d3 -r f612823b5496 devel/nss/Makefile
--- a/devel/nss/Makefile        Mon Apr 06 12:26:17 2020 +0000
+++ b/devel/nss/Makefile        Mon Apr 06 13:40:18 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.180 2020/03/18 13:22:10 ryoon Exp $
+# $NetBSD: Makefile,v 1.181 2020/04/06 13:40:18 ryoon Exp $
 
 DISTNAME=              nss-${NSS_RELEASE:S/.0$//}
 NSS_RELEASE=           3.51.0
@@ -40,6 +40,7 @@
 
 BUILDLINK_TRANSFORM+=  rm:-Werror
 BUILDLINK_TRANSFORM+=  rm:-ansi
+LDFLAGS.NetBSD+=       -lrt # sem_wait(3)
 
 MAKE_ENV.Linux+=       FREEBL_NO_DEPEND=0
 



Home | Main Index | Thread Index | Old Index