diff options
author | obache <obache@pkgsrc.org> | 2013-04-26 12:41:44 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2013-04-26 12:41:44 +0000 |
commit | 948e4f7e1fdd8ac5b941f3033f80d4ad8d94a00b (patch) | |
tree | 576ba56036b0b79e3c6da541ed0bcb73d1ea2d12 /sysutils/bacula | |
parent | 47440a101ead7f6b2a69c1193074658bc7798e0a (diff) | |
download | pkgsrc-948e4f7e1fdd8ac5b941f3033f80d4ad8d94a00b.tar.gz |
skip chown/chmod with empty user/group speficication, and user-destdir support.
Diffstat (limited to 'sysutils/bacula')
-rw-r--r-- | sysutils/bacula/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sysutils/bacula/Makefile b/sysutils/bacula/Makefile index 98d64ac2fa2..bc270ed8bc7 100644 --- a/sysutils/bacula/Makefile +++ b/sysutils/bacula/Makefile @@ -1,11 +1,9 @@ -# $NetBSD: Makefile,v 1.47 2013/04/25 20:41:33 shattered Exp $ +# $NetBSD: Makefile,v 1.48 2013/04/26 12:41:44 obache Exp $ PKGREVISION= 5 CONFLICTS+= bacula-client-[0-9]* bacula-clientonly-[0-9]* -PKG_DESTDIR_SUPPORT= destdir - .include "options.mk" PLIST_SRC= PLIST.common @@ -40,6 +38,10 @@ REPLACE_PERL+= src/cats/make_catalog_backup.pl.in .include "Makefile.common" +.if !empty(USE_DESTDIR:M[Yy][Ee][Ss]) +INSTALL_MAKE_FLAGS+= dir_user= dir_group= +.endif + post-install: ${INSTALL_SCRIPT} ${FILESDIR}/chio-changer \ ${DESTDIR}${PREFIX}/libexec/bacula/ |