summaryrefslogtreecommitdiff
path: root/sysutils/bacula
diff options
context:
space:
mode:
authorobache <obache>2013-04-26 12:41:44 +0000
committerobache <obache>2013-04-26 12:41:44 +0000
commitd583150ed0d82a837fefd9558f040fe4530536c3 (patch)
tree576ba56036b0b79e3c6da541ed0bcb73d1ea2d12 /sysutils/bacula
parente5b080012b9a6ce79684e56737900aa9cfbffe62 (diff)
downloadpkgsrc-d583150ed0d82a837fefd9558f040fe4530536c3.tar.gz
skip chown/chmod with empty user/group speficication, and user-destdir support.
Diffstat (limited to 'sysutils/bacula')
-rw-r--r--sysutils/bacula/Makefile8
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/