diff options
author | rh <rh> | 2000-11-19 19:40:17 +0000 |
---|---|---|
committer | rh <rh> | 2000-11-19 19:40:17 +0000 |
commit | 3bebdcc9b89a81bf20f77649c46056993667f363 (patch) | |
tree | bd395fe9480ab3d26ec65c54979c22689d0c76d6 /x11 | |
parent | 05dc586dde8a5609b44308b9cb9f98cf0961e7cf (diff) | |
download | pkgsrc-3bebdcc9b89a81bf20f77649c46056993667f363.tar.gz |
Prevent configure from picking up an installed PAM (unless USE_PAM is set)
Diffstat (limited to 'x11')
-rw-r--r-- | x11/gdm/Makefile | 14 |
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}#' \ |