summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authortron <tron>2013-10-12 17:23:01 +0000
committertron <tron>2013-10-12 17:23:01 +0000
commite505569e9f65178c465ac2880fdc00653a06cd1e (patch)
tree4228f0c0b7072fc2489a8704375e5f60853fe528 /multimedia
parentd4a56caf457b0109903dc5b794aa792c79ae4ee6 (diff)
downloadpkgsrc-e505569e9f65178c465ac2880fdc00653a06cd1e.tar.gz
Don't enable OpenCL on Mac OS X Lion or older. "ffmpeg" requires version 1.2
or newer which isn't available in these versions.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/ffmpeg2/Makefile.common4
1 files changed, 2 insertions, 2 deletions
diff --git a/multimedia/ffmpeg2/Makefile.common b/multimedia/ffmpeg2/Makefile.common
index acd29d00975..f1492465e88 100644
--- a/multimedia/ffmpeg2/Makefile.common
+++ b/multimedia/ffmpeg2/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.4 2013/10/12 10:31:12 adam Exp $
+# $NetBSD: Makefile.common,v 1.5 2013/10/12 17:23:01 tron Exp $
# used by multimedia/ffmpeg2/Makefile
# used by multimedia/ffplay2/Makefile
@@ -35,7 +35,7 @@ LDFLAGS+= -Wl,-R${PREFIX}/lib/ffmpeg2
PLIST_VARS+= opencl
-.if ${OPSYS} == "Darwin"
+.if !empty(MACHINE_PLATFORM:MDarwin-1[23456789].*-*)
CONFIGURE_ARGS+= --enable-opencl
PLIST.opencl= yes
.endif