summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-07-03 10:18:39 +0000
committerjmmv <jmmv@pkgsrc.org>2004-07-03 10:18:39 +0000
commit5985a1efb9255634b515f84d58f8dc853625e2b5 (patch)
treebaee596d60b4a33207a696d2c4059f296def933c /x11
parenta14381f90ac35c0da54e1c4a2728f79fdaf78f76 (diff)
downloadpkgsrc-5985a1efb9255634b515f84d58f8dc853625e2b5.tar.gz
Use the subst.mk framework to disable PAM support.
Diffstat (limited to 'x11')
-rw-r--r--x11/gdm1/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/x11/gdm1/Makefile b/x11/gdm1/Makefile
index 2722b6a8ff4..231b5a78e7f 100644
--- a/x11/gdm1/Makefile
+++ b/x11/gdm1/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2004/04/25 07:30:23 snj Exp $
+# $NetBSD: Makefile,v 1.6 2004/07/03 10:18:39 jmmv Exp $
DISTNAME= gdm-2.2.0
PKGREVISION= 6
@@ -65,11 +65,11 @@ GDMGRP= daemon
DEPENDS+= PAM-[0-9]*:../../security/PAM
.else
-post-patch:
- cd ${WRKSRC} && \
- ${CP} configure configure.old && \
- ${SED} -e 's:security/pam_appl.h:nopam:g' \
- < configure.old > configure
+SUBST_CLASSES+= pam
+SUBST_MESSAGE.pam= "Disabling PAM support."
+SUBST_STAGE.pam= pre-configure
+SUBST_FILES.pam= configure
+SUBST_SED.pam= -e 's:security/pam_appl.h:nopam:g'
.endif
post-build: