summaryrefslogtreecommitdiff
path: root/graphics/cqcam
diff options
context:
space:
mode:
authorjperkin <jperkin>2016-02-25 13:37:46 +0000
committerjperkin <jperkin>2016-02-25 13:37:46 +0000
commitbccbbec8e7871e18da507540e2ffe289a27d8fc1 (patch)
tree94113be68a0bce10362d82772b0687bfd2945c82 /graphics/cqcam
parentabcec90f962633389227323bac50622d4197860f (diff)
downloadpkgsrc-bccbbec8e7871e18da507540e2ffe289a27d8fc1.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'graphics/cqcam')
-rw-r--r--graphics/cqcam/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/graphics/cqcam/Makefile b/graphics/cqcam/Makefile
index 1cdda6e008c..62ba5fa4c98 100644
--- a/graphics/cqcam/Makefile
+++ b/graphics/cqcam/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2014/01/11 14:42:03 adam Exp $
+# $NetBSD: Makefile,v 1.43 2016/02/25 13:37:47 jperkin Exp $
#
DISTNAME= cqcam-0.91
@@ -12,12 +12,10 @@ COMMENT= Free Color QuickCam control program
.include "../../mk/bsd.prefs.mk"
-#NOT_FOR_UNPRIVILEGED= yes # seems to need setuid for everything
-.if ${OPSYS} == "SunOS"
# Tries to install a device driver with unrestricted access to all
# hardware ports, which is also specific to i86pc platforms.
-NOT_FOR_UNPRIVILEGED= yes
-.endif
+OPSYSVARS+= NOT_FOR_UNPRIVILEGED
+NOT_FOR_UNPRIVILEGED.SunOS= yes
.if ${MACHINE_ARCH} != "i386"
CONFIGURE_ARGS+= --disable-asm