summaryrefslogtreecommitdiff
path: root/x11/gdm
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2000-11-19 19:40:17 +0000
committerrh <rh@pkgsrc.org>2000-11-19 19:40:17 +0000
commit00373a72085d70bf2b334132b8e70cfc1f6792ea (patch)
treebd395fe9480ab3d26ec65c54979c22689d0c76d6 /x11/gdm
parentd832dbdfc7571dc66902a385cbed85b088823a7a (diff)
downloadpkgsrc-00373a72085d70bf2b334132b8e70cfc1f6792ea.tar.gz
Prevent configure from picking up an installed PAM (unless USE_PAM is set)
Diffstat (limited to 'x11/gdm')
-rw-r--r--x11/gdm/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile
index 859c9abb71a..068639e02ee 100644
--- a/x11/gdm/Makefile
+++ b/x11/gdm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2000/07/15 20:39:25 agc Exp $
+# $NetBSD: Makefile,v 1.14 2000/11/19 19:40:17 rh Exp $
DISTNAME= gdm-2.0beta4
PKGNAME= gdm-2.0b4
@@ -45,6 +45,18 @@ GDMCFGFILES= Default:Init.default/Default \
locale.alias:locale.alias.default \
gnomerc:../gnomerc.default
+.include "../../mk/bsd.prefs.mk"
+
+.if !defined(USE_PAM)
+DEPENDS+= PAM-*:../../security/PAM
+
+post-patch:
+ cd ${WRKSRC} && \
+ ${CP} configure configure.old && \
+ ${SED} -e 's:security/pam_appl.h::g' \
+ < configure.old > configure
+.endif
+
post-build:
for f in DEINSTALL INSTALL; do \
${SED} -e 's#@@CP@@#${CP}#' \