diff options
Diffstat (limited to 'security/priv/Makefile')
-rw-r--r-- | security/priv/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/security/priv/Makefile b/security/priv/Makefile index ca889610ae2..a1de53554c6 100644 --- a/security/priv/Makefile +++ b/security/priv/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2007/03/20 17:04:13 jlam Exp $ +# $NetBSD: Makefile,v 1.17 2010/01/27 17:02:16 joerg Exp $ # DISTNAME= priv-1.0-beta2 @@ -11,6 +11,7 @@ MAINTAINER= simonb@NetBSD.org COMMENT= Execute commands as a different user PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir GNU_CONFIGURE= YES @@ -20,7 +21,8 @@ SUBST_STAGE.sysconfdir= post-configure SUBST_FILES.sysconfdir= priv.1 SUBST_SED.sysconfdir= -e "s|/usr/local/etc/|${PKG_SYSCONFDIR}/|g" -INSTALL_MAKE_FLAGS= mandir=${PREFIX}/${PKGMANDIR}/man1 +INSTALL_MAKE_FLAGS= bindir=${DESTDIR}${PREFIX}/bin \ + mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 OWN_DIRS= ${PKG_SYSCONFDIR}/priv |