summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmmv <jmmv>2004-07-03 10:18:39 +0000
committerjmmv <jmmv>2004-07-03 10:18:39 +0000
commitb53ef71bbdc5d3844810f7d2c827580f184a70a7 (patch)
treebaee596d60b4a33207a696d2c4059f296def933c
parent2088f817375dd6eba19cc8f036b031b245702efb (diff)
downloadpkgsrc-b53ef71bbdc5d3844810f7d2c827580f184a70a7.tar.gz
Use the subst.mk framework to disable PAM support.
-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: