Point configure to right mount/umount on NetBSD. Use canonical format
for Solaris check.
This commit is contained in:
parent
8768b9bd86
commit
f762f268fb
1 changed files with 6 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.16 2008/07/15 15:33:46 mishka Exp $
|
||||
# $NetBSD: Makefile,v 1.17 2011/12/29 16:38:37 joerg Exp $
|
||||
|
||||
DISTNAME= cdbkup-1.0
|
||||
PKGREVISION= 6
|
||||
|
@ -21,7 +21,7 @@ CONFIGURE_ENV+= GNUTAR=${TOOLS_GTAR:Q}
|
|||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
.if (${OPSYS} == SunOS)
|
||||
.if ${OPSYS} == "SunOS"
|
||||
CDBKUP_SNARDIR?= /var/${PKGBASE}
|
||||
CDBKUP_DUMPGRP?= sys
|
||||
.else
|
||||
|
@ -29,6 +29,10 @@ CDBKUP_SNARDIR?= /var/db/${PKGBASE}
|
|||
CDBKUP_DUMPGRP?= operator
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} == "NetBSD"
|
||||
CONFIGURE_ENV+= MOUNT=/sbin/mount UMOUNT=/sbin/umount
|
||||
.endif
|
||||
|
||||
CONFIGURE_ARGS+= --with-snardir=${CDBKUP_SNARDIR:Q} \
|
||||
--with-dumpgrp=${CDBKUP_DUMPGRP:Q}
|
||||
PLIST_SUBST+= CDBKUP_SNARDIR=${CDBKUP_SNARDIR:Q} \
|
||||
|
|
Loading…
Reference in a new issue