summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2011-09-14 17:31:06 +0000
committerhans <hans@pkgsrc.org>2011-09-14 17:31:06 +0000
commit1ce3514798d354bfb27449d3df213974ffd37ef6 (patch)
treea64f091c16e294d61e793b925fef2bd39ef57113 /security
parent0497318f7718cc9692879f07b5c555dd917284a1 (diff)
downloadpkgsrc-1ce3514798d354bfb27449d3df213974ffd37ef6.tar.gz
The configure check for pam headers doesn't work on SunOS. Fix build by
overriding the check.
Diffstat (limited to 'security')
-rw-r--r--security/gnome-keyring/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/security/gnome-keyring/Makefile b/security/gnome-keyring/Makefile
index 54c412ad5ea..5c0791a0106 100644
--- a/security/gnome-keyring/Makefile
+++ b/security/gnome-keyring/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.62 2011/07/14 14:25:45 obache Exp $
+# $NetBSD: Makefile,v 1.63 2011/09/14 17:31:06 hans Exp $
DISTNAME= gnome-keyring-2.32.1
PKGREVISION= 2
@@ -27,6 +27,11 @@ CFLAGS.HPUX+= -DMAP_ANON=MAP_ANONYMOUS
#
CFLAGS.NetBSD+= -DNO_STATIC_MODULES
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "SunOS"
+CONFIGURE_ENV+= ac_cv_header_security_pam_modules_h=yes
+.endif
+
.include "../../mk/dlopen.buildlink3.mk"
BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:M*}