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.
This commit is contained in:
parent
14e229fd04
commit
20cb930925
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue