summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpettai <pettai@pkgsrc.org>2016-02-22 13:20:08 +0000
committerpettai <pettai@pkgsrc.org>2016-02-22 13:20:08 +0000
commite95b281833488e2c8e38953ca7c2dcf1bced7e49 (patch)
treefc91206cbaf03b3d8756d2442654848051a4c9e1
parent8d67f9b93820099a81c6d3ca04ba29336273933b (diff)
downloadpkgsrc-e95b281833488e2c8e38953ca7c2dcf1bced7e49.tar.gz
Apply fix from PR pkg/50585
-rw-r--r--security/pam-yubico/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/security/pam-yubico/Makefile b/security/pam-yubico/Makefile
index 1353680b837..9f0004184df 100644
--- a/security/pam-yubico/Makefile
+++ b/security/pam-yubico/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2014/11/10 21:55:31 pettai Exp $
+# $NetBSD: Makefile,v 1.11 2016/02/22 13:20:08 pettai Exp $
DISTNAME= pam_yubico-2.17
PKGNAME= ${DISTNAME:S/_/-/}
@@ -15,6 +15,11 @@ GNU_CONFIGURE= yes
USE_TOOLS+= pkg-config
USE_LIBTOOL= yes
+# Workaround a bug with NetBSD's openpam
+# The bug is described in PR security/39313
+#
+CFLAGS.NetBSD+= -DNO_STATIC_MODULES
+
.include "../../security/libyubikey/buildlink3.mk"
.include "../../security/ykclient/buildlink3.mk"
.include "../../security/ykpers/buildlink3.mk"