diff options
author | obache <obache> | 2011-10-17 09:38:25 +0000 |
---|---|---|
committer | obache <obache> | 2011-10-17 09:38:25 +0000 |
commit | d6dce11c3927879eb3b88160439e6e1ea853ac09 (patch) | |
tree | 5d2311649b5004d472670564be5c181eb33d0deb /security/pam-af | |
parent | d182cf0c0dd3f4a992661dff8c60c08dccf73f80 (diff) | |
download | pkgsrc-d6dce11c3927879eb3b88160439e6e1ea853ac09.tar.gz |
Honor VARBASE and PKG_SYSCONFDIR.
ride on last update.
Diffstat (limited to 'security/pam-af')
-rw-r--r-- | security/pam-af/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/security/pam-af/Makefile b/security/pam-af/Makefile index da0c3e168e9..7872ccae74e 100644 --- a/security/pam-af/Makefile +++ b/security/pam-af/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2011/10/17 08:47:51 obache Exp $ +# $NetBSD: Makefile,v 1.10 2011/10/17 09:38:25 obache Exp $ DISTNAME= pam_af-1.0.2 PKGNAME= ${DISTNAME:S/_/-/} @@ -13,6 +13,16 @@ LICENSE= 2-clause-bsd PKG_DESTDIR_SUPPORT= user-destdir +SUBST_CLASSES+= pkgvar +SUBST_STAGE.pkgvar= post-configure +SUBST_MESSAGE.pkgvar= replace hard-coded paths +SUBST_FILES.pkgvar= common/pam_af.h +SUBST_SED.pkgvar= -e 's|/var/|${VARBASE}/|g' +SUBST_SED.pkgvar+= -e 's|/etc/|${PKG_SYSCONFDIR}/|g' + +BUILD_DEFS+= VARBASE +MAKE_DIRS+= ${VARBASE}/db + .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "Linux" |