pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/security/pam-ldap
Module Name: pkgsrc
Committed By: tron
Date: Mon Nov 3 19:17:53 UTC 2025
Modified Files:
pkgsrc/security/pam-ldap: Makefile
Log Message:
security/pam-ldap: Fix build under NetBSD (-current?)
To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 pkgsrc/security/pam-ldap/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/security/pam-ldap/Makefile
diff -u pkgsrc/security/pam-ldap/Makefile:1.52 pkgsrc/security/pam-ldap/Makefile:1.53
--- pkgsrc/security/pam-ldap/Makefile:1.52 Tue Oct 24 22:10:55 2023
+++ pkgsrc/security/pam-ldap/Makefile Mon Nov 3 19:17:53 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.52 2023/10/24 22:10:55 wiz Exp $
+# $NetBSD: Makefile,v 1.53 2025/11/03 19:17:53 tron Exp $
DISTNAME= pam_ldap-186
PKGNAME= ${DISTNAME:S/_/-/}
@@ -22,6 +22,10 @@ CONFIGURE_ARGS+= --with-ldap-dir=${BUILD
CONFIGURE_ARGS+= --with-ldap-conf-file=${PKG_SYSCONFDIR}/ldap.conf
CONFIGURE_ARGS+= --with-ldap-secret-file=${PKG_SYSCONFDIR}/ldap.secret
+# Stop "configure" from finding the badly hidden gethostbyname_r()
+# under NetBSD which breaks the build.
+CONFIGURE_ENV.NetBSD+= ac_cv_func_gethostbyname_r=no
+
# shared with databases/nss_ldap
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
CONF_FILES= ${EGDIR}/ldap.conf ${PKG_SYSCONFDIR}/ldap.conf
Home |
Main Index |
Thread Index |
Old Index