pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libatomic Set BUILDLINK_{LDADD,LDFLAGS}, which i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1d022fb6c6f1
branches:  trunk
changeset: 452234:1d022fb6c6f1
user:      rin <rin%pkgsrc.org@localhost>
date:      Fri May 07 11:34:48 2021 +0000

description:
Set BUILDLINK_{LDADD,LDFLAGS}, which is required at least for
multimedia/ffmpeg4 and net/bind916 (reported by jklos).

diffstat:

 devel/libatomic/buildlink3.mk |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 29218bc414c2 -r 1d022fb6c6f1 devel/libatomic/buildlink3.mk
--- a/devel/libatomic/buildlink3.mk     Fri May 07 11:33:30 2021 +0000
+++ b/devel/libatomic/buildlink3.mk     Fri May 07 11:34:48 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2020/06/02 21:27:05 maya Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2021/05/07 11:34:48 rin Exp $
 
 BUILDLINK_TREE+=       libatomic
 
@@ -9,6 +9,9 @@
 BUILDLINK_ABI_DEPENDS.libatomic+=      libatomic>=10.0
 BUILDLINK_PKGSRCDIR.libatomic?=                ../../devel/libatomic
 
+BUILDLINK_LDADD.libatomic+=    -latomic
+BUILDLINK_LDFLAGS.libatomic?=  ${BUILDLINK_LDADD.libatomic}
+
 .include "../../mk/pthread.buildlink3.mk"
 .endif
 



Home | Main Index | Thread Index | Old Index