summaryrefslogtreecommitdiff
path: root/security/pam-mkhomedir
diff options
context:
space:
mode:
authorsbd <sbd@pkgsrc.org>2012-02-21 22:19:25 +0000
committersbd <sbd@pkgsrc.org>2012-02-21 22:19:25 +0000
commit8abcdbbced6fc7d8f8276e1f0f4a9af08b3c7444 (patch)
tree9dd2d813e6a16041b0e641dd6dad06f8cf8d762e /security/pam-mkhomedir
parent8edda0e2ba22218a3805b77354896819c60e4534 (diff)
downloadpkgsrc-8abcdbbced6fc7d8f8276e1f0f4a9af08b3c7444.tar.gz
Don't try to build if using linux-pam.
Diffstat (limited to 'security/pam-mkhomedir')
-rw-r--r--security/pam-mkhomedir/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/security/pam-mkhomedir/Makefile b/security/pam-mkhomedir/Makefile
index 13c3ca187db..6ed84b06eb9 100644
--- a/security/pam-mkhomedir/Makefile
+++ b/security/pam-mkhomedir/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2009/04/09 00:48:15 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2012/02/21 22:19:25 sbd Exp $
DISTNAME= pam-mkhomedir-1
CATEGORIES= security
@@ -41,4 +41,7 @@ CFLAGS+= -DNO_STATIC_MODULES
.endif
.include "../../mk/pam.buildlink3.mk"
+.if "${PAM_TYPE}" == "linux-pam"
+PKG_FAIL_REASON+= "Disabled: The PAM mkhomedir module is included in the PAM package."
+.endif
.include "../../mk/bsd.pkg.mk"