summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2022-10-18 11:35:58 +0200
committerUlrich Müller <ulm@gentoo.org>2022-10-18 11:35:58 +0200
commitc0d0b1a344f83465410dcd306bd3d45ecd461530 (patch)
treeab3ec07d1a1e0ee91b10304837a90ef5a943c556
parentmotif: Fix build with slibtool (diff)
downloadulm-pam_skey-1.1.5-patches-8.tar.gz
ulm-pam_skey-1.1.5-patches-8.tar.bz2
ulm-pam_skey-1.1.5-patches-8.zip
pam_skey: Don't link against libnslpam_skey-1.1.5-patches-8
Bug: https://bugs.gentoo.org/877433 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--patchsets/pam_skey/1.1.5/07_all_no_libnsl.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/patchsets/pam_skey/1.1.5/07_all_no_libnsl.patch b/patchsets/pam_skey/1.1.5/07_all_no_libnsl.patch
new file mode 100644
index 0000000..4dd7797
--- /dev/null
+++ b/patchsets/pam_skey/1.1.5/07_all_no_libnsl.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/877433
+
+--- pam_skey-1.1.5/autoconf/configure.in
++++ pam_skey-1.1.5/autoconf/configure.in
+@@ -54,7 +54,6 @@
+
+ dnl Check for skey library
+ AC_CHECK_LIB(socket, socket, LIBS="${LIBS} -lsocket")
+-AC_CHECK_LIB(nsl, gethostbyname, LIBS="${LIBS} -lnsl")
+ AC_CHECK_LIB(skey, skeyverify, SKEYLIB="-lskey", AC_MSG_ERROR(skey library not found or unknown interface))
+
+ dnl Check against -G linker flag