diff options
author | spz <spz@pkgsrc.org> | 2021-01-30 11:06:45 +0000 |
---|---|---|
committer | spz <spz@pkgsrc.org> | 2021-01-30 11:06:45 +0000 |
commit | a8f5b5947f23b6c1d75835433ee0624ff9de07bd (patch) | |
tree | c5c67655312f9019655a3776e4a28d164cece95c /security/sudo/patches | |
parent | 6b5238aad3f097796e5df93bc9aa1f2639afe36b (diff) | |
download | pkgsrc-a8f5b5947f23b6c1d75835433ee0624ff9de07bd.tar.gz |
security/sudo: build fix for netbsdelf systems
Diffstat (limited to 'security/sudo/patches')
-rw-r--r-- | security/sudo/patches/patch-configure | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/security/sudo/patches/patch-configure b/security/sudo/patches/patch-configure index 79639d83bbc..c5d2a5145a2 100644 --- a/security/sudo/patches/patch-configure +++ b/security/sudo/patches/patch-configure @@ -1,4 +1,4 @@ -$NetBSD: patch-configure,v 1.4 2021/01/18 14:32:24 taca Exp $ +$NetBSD: patch-configure,v 1.5 2021/01/30 11:06:45 spz Exp $ * Add "--with-nbsdops" option, NetBSD standard options. * Link with util(3) in the case of DragonFly, too. @@ -7,8 +7,8 @@ $NetBSD: patch-configure,v 1.4 2021/01/18 14:32:24 taca Exp $ functions (HAVE_KRB5_*). * Remove setting sysconfdir to "/etc". ---- configure.orig 2021-01-09 20:12:16.000000000 +0000 -+++ configure +--- configure.orig 2021-01-23 16:45:11.000000000 +0100 ++++ configure 2021-01-30 12:31:20.802349535 +0100 @@ -892,6 +892,7 @@ with_libpath with_libraries with_efence @@ -30,7 +30,7 @@ $NetBSD: patch-configure,v 1.4 2021/01/18 14:32:24 taca Exp $ --with-libraries additional libraries to link with --with-efence link with -lefence for malloc() debugging --with-csops add CSOps standard options -+ --with-nbsdops add NetBSD standard opt ions ++ --with-nbsdops add NetBSD standard options --without-passwd don't use passwd/shadow file for authentication --with-skey[=DIR] enable S/Key support --with-opie[=DIR] enable OPIE support @@ -72,7 +72,7 @@ $NetBSD: patch-configure,v 1.4 2021/01/18 14:32:24 taca Exp $ LOGINCAP_USAGE='[-c class] '; LCMAN=1 case "$OS" in - freebsd|netbsd) -+ dragonfly*|freebsd|netbsd) ++ dragonfly*|freebsd|netbsd*) SUDO_LIBS="${SUDO_LIBS} -lutil" SUDOERS_LIBS="${SUDOERS_LIBS} -lutil" ;; @@ -122,6 +122,15 @@ $NetBSD: patch-configure,v 1.4 2021/01/18 14:32:24 taca Exp $ _LIBS="$LIBS" LIBS="${LIBS} ${SUDOERS_LIBS}" for ac_func in krb5_verify_user krb5_init_secure_context +@@ -27120,7 +27139,7 @@ fi + fi + + case "$OS" in +- netbsd) ++ netbsd*) + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--enable-new-dtags" >&5 @@ -28297,7 +28316,6 @@ test "$docdir" = '${datarootdir}/doc/${P test "$localedir" = '${datarootdir}/locale' && localedir='$(datarootdir)/locale' test "$localstatedir" = '${prefix}/var' && localstatedir='$(prefix)/var' |