summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2013-10-12 17:23:01 +0000
committertron <tron@pkgsrc.org>2013-10-12 17:23:01 +0000
commit78b3d7d2751694b4a0efaabaeda79408d6e19802 (patch)
tree4228f0c0b7072fc2489a8704375e5f60853fe528 /multimedia
parent0a92126cbd185e9d42d8ff6b217a9dcccedff7c2 (diff)
downloadpkgsrc-78b3d7d2751694b4a0efaabaeda79408d6e19802.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