summaryrefslogtreecommitdiff
path: root/sysutils/cdbkup
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-02-26 10:24:10 +0000
committerjperkin <jperkin@pkgsrc.org>2016-02-26 10:24:10 +0000
commitc049a2ca48d1150abe59446f3082ca4116323bc6 (patch)
tree0296198370532d82efd6efd523c7ca1570359f37 /sysutils/cdbkup
parent0538ec5b33e56381337ee00b1bb6243bc3bc3c7a (diff)
downloadpkgsrc-c049a2ca48d1150abe59446f3082ca4116323bc6.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'sysutils/cdbkup')
-rw-r--r--sysutils/cdbkup/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/sysutils/cdbkup/Makefile b/sysutils/cdbkup/Makefile
index c189883802f..3e20f230d48 100644
--- a/sysutils/cdbkup/Makefile
+++ b/sysutils/cdbkup/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2015/06/12 10:51:11 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2016/02/26 10:24:11 jperkin Exp $
DISTNAME= cdbkup-1.0
PKGREVISION= 11
@@ -29,9 +29,7 @@ CDBKUP_SNARDIR?= /var/db/${PKGBASE}
CDBKUP_DUMPGRP?= operator
.endif
-.if ${OPSYS} == "NetBSD"
-CONFIGURE_ENV+= MOUNT=/sbin/mount UMOUNT=/sbin/umount
-.endif
+CONFIGURE_ENV.NetBSD+= MOUNT=/sbin/mount UMOUNT=/sbin/umount
CONFIGURE_ARGS+= --with-snardir=${CDBKUP_SNARDIR:Q} \
--with-dumpgrp=${CDBKUP_DUMPGRP:Q}