diff options
author | jmmv <jmmv@pkgsrc.org> | 2004-07-03 10:18:39 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2004-07-03 10:18:39 +0000 |
commit | d6d0af9a10904e05bc45fa2b01e106e52fd75517 (patch) | |
tree | baee596d60b4a33207a696d2c4059f296def933c /x11/gdm1/Makefile | |
parent | fbf67e585182ca008ce680888daccb1eb7a7c33f (diff) | |
download | pkgsrc-d6d0af9a10904e05bc45fa2b01e106e52fd75517.tar.gz |
Use the subst.mk framework to disable PAM support.
Diffstat (limited to 'x11/gdm1/Makefile')
-rw-r--r-- | x11/gdm1/Makefile | 12 |
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: |