summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-12-29 16:38:37 +0000
committerjoerg <joerg@pkgsrc.org>2011-12-29 16:38:37 +0000
commitf762f268fbb77b2aac9fb4af5797ab786741d512 (patch)
tree690df1966d51b23a698dacb680752d36b485f7d8 /sysutils
parent8768b9bd861cb8b3919f24c494e8fa98b4790727 (diff)
downloadpkgsrc-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/Makefile8
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} \