From b8db9b28eebdcbfec7cc61551d1eeba72d419afd Mon Sep 17 00:00:00 2001
From: jlam <jlam@pkgsrc.org>
Date: Tue, 6 Jul 2004 22:49:29 +0000
Subject: Accept "yes" or "YES" for USE_LIBCRACK.

---
 security/PAM/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'security')

diff --git a/security/PAM/Makefile b/security/PAM/Makefile
index 82c82c9c728..aefd544b413 100644
--- a/security/PAM/Makefile
+++ b/security/PAM/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2004/03/26 18:48:52 jlam Exp $
+# $NetBSD: Makefile,v 1.24 2004/07/06 22:49:29 jlam Exp $
 #
 
 DISTNAME=	Linux-PAM-0.77
@@ -38,7 +38,7 @@ MESSAGE_SUBST+=		PAM_MODULEDIR=${PAM_MODULEDIR}
 
 .include "../../mk/bsd.prefs.mk"
 
-.if ${USE_LIBCRACK} == YES
+.if !empty(USE_LIBCRACK:M[yY][eE][sS])
 .  include "../../security/libcrack/buildlink3.mk"
 CONFIGURE_ARGS+=	--with-libcrack
 PLIST_SUBST+=		USE_LIBCRACK=
-- 
cgit v1.2.3