Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/pam-u2f Add a libm dependency.



details:   https://anonhg.NetBSD.org/src/rev/0dfe07cc4cbc
branches:  trunk
changeset: 1007921:0dfe07cc4cbc
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Mar 04 17:32:27 2020 +0000

description:
Add a libm dependency.

diffstat:

 external/bsd/pam-u2f/bin/pamu2fcfg/Makefile        |  6 +++---
 external/bsd/pam-u2f/lib/security/pam-u2f/Makefile |  5 +++--
 2 files changed, 6 insertions(+), 5 deletions(-)

diffs (37 lines):

diff -r eff86d355447 -r 0dfe07cc4cbc external/bsd/pam-u2f/bin/pamu2fcfg/Makefile
--- a/external/bsd/pam-u2f/bin/pamu2fcfg/Makefile       Wed Mar 04 17:31:08 2020 +0000
+++ b/external/bsd/pam-u2f/bin/pamu2fcfg/Makefile       Wed Mar 04 17:32:27 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/03/03 03:10:32 christos Exp $
+# $NetBSD: Makefile,v 1.2 2020/03/04 17:32:27 christos Exp $
 
 NOMAN=
 
@@ -21,7 +21,7 @@
 SRCS=pamu2fcfg.c cmdline.c b64.c readpassphrase.c explicit_bzero.c util.c
 COPTS.util.c += -Wno-error=stack-protector
 
-LDADD+=-lpam -lfido2 -lcbor -lusbhid -lcrypto
-DPADD+=${LIBPAM} ${LIBFIDO2} ${LIBCBOR} ${LIBUSBHID} ${LIBCRYPTO}
+LDADD+=-lpam -lfido2 -lcbor -lusbhid -lcrypto -lm
+DPADD+=${LIBPAM} ${LIBFIDO2} ${LIBCBOR} ${LIBUSBHID} ${LIBCRYPTO} ${LIBM}
 
 .include <bsd.prog.mk>
diff -r eff86d355447 -r 0dfe07cc4cbc external/bsd/pam-u2f/lib/security/pam-u2f/Makefile
--- a/external/bsd/pam-u2f/lib/security/pam-u2f/Makefile        Wed Mar 04 17:31:08 2020 +0000
+++ b/external/bsd/pam-u2f/lib/security/pam-u2f/Makefile        Wed Mar 04 17:32:27 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2020/03/03 00:44:12 christos Exp $
+# $NetBSD: Makefile,v 1.3 2020/03/04 17:32:27 christos Exp $
 
 NOMAN=
 .include <bsd.own.mk>
@@ -16,6 +16,7 @@
 LIBDPLIBS+= \
        fido2   ${NETBSDSRCDIR}/external/bsd/libfido2/lib \
        cbor    ${NETBSDSRCDIR}/external/mit/libcbor/lib \
-       crypto  ${NETBSDSRCDIR}/crypto/external/bsd/${EXTERNAL_OPENSSL_SUBDIR}/lib/libcrypto
+       crypto  ${NETBSDSRCDIR}/crypto/external/bsd/${EXTERNAL_OPENSSL_SUBDIR}/lib/libcrypto \
+       m       ${NETBSDSRCDIR}/lib/libm
 
 .include "${NETBSDSRCDIR}/lib/libpam/modules/mod.mk"



Home | Main Index | Thread Index | Old Index