diff options
author | jlam <jlam> | 2004-01-12 04:31:09 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-01-12 04:31:09 +0000 |
commit | 5caa398c581e3f837787757c40e6d86f23b70b93 (patch) | |
tree | 69ec9865106bd64b69564c266222cdd56943ca18 /security/PAM | |
parent | fb1a4d17a37b59e3c8d95cfbd8ada36374ad0496 (diff) | |
download | pkgsrc-5caa398c581e3f837787757c40e6d86f23b70b93.tar.gz |
Update security/PAM to 0.77nb1:
Actually make this package honor PKG_SYSCONFDIR. This package now looks
for /usr/pkg/etc/pam.conf if PKG_SYSCONFBASE != "/etc".
Diffstat (limited to 'security/PAM')
-rw-r--r-- | security/PAM/Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/security/PAM/Makefile b/security/PAM/Makefile index 44bf484a021..63e9be71a97 100644 --- a/security/PAM/Makefile +++ b/security/PAM/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.19 2004/01/08 19:18:00 jlam Exp $ +# $NetBSD: Makefile,v 1.20 2004/01/12 04:31:09 jlam Exp $ # -DISTNAME= Linux-${PKGNAME} -PKGNAME= PAM-0.77 +DISTNAME= Linux-PAM-0.77 +PKGNAME= ${DISTNAME:S/Linux-//} +PKGREVISION= 1 CATEGORIES= security MASTER_SITES= http://www.kernel.org/pub/linux/libs/pam/pre/library/ \ ftp://ftp.kernel.org/pub/linux/libs/pam/pre/library/ \ @@ -74,6 +75,13 @@ CONF_FILES= ${EGDIR}/pam.conf ${PKG_SYSCONFBASEDIR}/pam.conf CONF_FILES+= ${EGDIR}/${FILE} ${PKG_SYSCONFDIR}/${FILE} .endfor +post-configure: + cd ${WRKSRC}; for file in libpam/pam_private.h; do \ + ${SED} -e "s|/etc/|${PKG_SYSCONFBASEDIR}/|g" \ + $$file > $$file.new; \ + ${MV} -f $$file.new $$file; \ + done + # this is so it won't try to interactively install any configs pre-build: ${TOUCH} ${WRKSRC}/.quiet_install |