pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/gdm1 Use the subst.mk framework to disable PAM sup...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b5af5dedb845
branches:  trunk
changeset: 477464:b5af5dedb845
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Sat Jul 03 10:18:39 2004 +0000

description:
Use the subst.mk framework to disable PAM support.

diffstat:

 x11/gdm1/Makefile |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (26 lines):

diff -r cbbcf4c1b650 -r b5af5dedb845 x11/gdm1/Makefile
--- a/x11/gdm1/Makefile Sat Jul 03 09:10:40 2004 +0000
+++ b/x11/gdm1/Makefile Sat Jul 03 10:18:39 2004 +0000
@@ -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 @@
 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:



Home | Main Index | Thread Index | Old Index