summaryrefslogtreecommitdiff
path: root/x11/gdm/Makefile
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2000-11-19 19:42:59 +0000
committerrh <rh@pkgsrc.org>2000-11-19 19:42:59 +0000
commitea56479a84d1833f510759c4b42315d7491be2ac (patch)
tree84b59fc49a253aceb2fe7aa0f53a9c1fd0575811 /x11/gdm/Makefile
parent00373a72085d70bf2b334132b8e70cfc1f6792ea (diff)
downloadpkgsrc-ea56479a84d1833f510759c4b42315d7491be2ac.tar.gz
Invert meaning of USE_PAM: add dependency only if USE_PAM is set!
Diffstat (limited to 'x11/gdm/Makefile')
-rw-r--r--x11/gdm/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile
index 068639e02ee..159146cbd65 100644
--- a/x11/gdm/Makefile
+++ b/x11/gdm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2000/11/19 19:40:17 rh Exp $
+# $NetBSD: Makefile,v 1.15 2000/11/19 19:42:59 rh Exp $
DISTNAME= gdm-2.0beta4
PKGNAME= gdm-2.0b4
@@ -47,8 +47,9 @@ GDMCFGFILES= Default:Init.default/Default \
.include "../../mk/bsd.prefs.mk"
-.if !defined(USE_PAM)
+.if defined(USE_PAM)
DEPENDS+= PAM-*:../../security/PAM
+.else
post-patch:
cd ${WRKSRC} && \