skip chown/chmod with empty user/group speficication, and user-destdir support.
This commit is contained in:
parent
015732947c
commit
5bbbffadae
1 changed files with 5 additions and 3 deletions
|
@ -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/
|
||||
|
|
Loading…
Reference in a new issue