summaryrefslogtreecommitdiff
path: root/x11/gdm
diff options
context:
space:
mode:
authorrh <rh>2000-11-19 19:42:59 +0000
committerrh <rh>2000-11-19 19:42:59 +0000
commit9f51494941bacf99e323cc9e7626809cce0261eb (patch)
tree84b59fc49a253aceb2fe7aa0f53a9c1fd0575811 /x11/gdm
parent3bebdcc9b89a81bf20f77649c46056993667f363 (diff)
downloadpkgsrc-9f51494941bacf99e323cc9e7626809cce0261eb.tar.gz
Invert meaning of USE_PAM: add dependency only if USE_PAM is set!
Diffstat (limited to 'x11/gdm')
-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} && \