diff options
author | joerg <joerg@pkgsrc.org> | 2011-12-29 16:38:37 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2011-12-29 16:38:37 +0000 |
commit | f762f268fbb77b2aac9fb4af5797ab786741d512 (patch) | |
tree | 690df1966d51b23a698dacb680752d36b485f7d8 /sysutils | |
parent | 8768b9bd861cb8b3919f24c494e8fa98b4790727 (diff) | |
download | pkgsrc-f762f268fbb77b2aac9fb4af5797ab786741d512.tar.gz |
Point configure to right mount/umount on NetBSD. Use canonical format
for Solaris check.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/cdbkup/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sysutils/cdbkup/Makefile b/sysutils/cdbkup/Makefile index 71d444dafd8..545affcb855 100644 --- a/sysutils/cdbkup/Makefile +++ b/sysutils/cdbkup/Makefile @@ -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} \ |