ports/multimedia/libdv/files/patch-meson.build
Daniel Engberg 3218e783d9 multimedia/libdv: Switch to Gstreamer's fork
This repo switches to meson and includes various build fixes that
makes our port much cleaner. Drop sample applications as they serve
no usable purpose and adds unnecessary dependencies

Approved by:	arrowd (mentor)
Differential Revision:	https://reviews.freebsd.org/D32800
2021-11-03 22:53:44 +01:00

21 lines
830 B
Text

--- meson.build.orig 2021-11-02 09:05:08 UTC
+++ meson.build
@@ -45,13 +45,13 @@ libm = cc.find_library('m', required: false)
# Don't bother with popt on non-gcc build, because we make heavy use of
# gcc struct initialization extension in our popt code. (Could be fixed)
-if cc.get_id() == 'gcc'
+#if cc.get_id() == 'gcc'
popt_dep = dependency('popt', required: get_option('popt'))
cdata.set10('HAVE_LIBPOPT', popt_dep.found())
-else
- assert(not get_option('popt').enabled(), 'popt requested via options but was not found.')
- popt_dep = dependency('', required: false)
-endif
+#else
+# assert(not get_option('popt').enabled(), 'popt requested via options but was not found.')
+# popt_dep = dependency('', required: false)
+#endif
if get_option('yuv-format') == 'YV12'
cdata.set10('YUV_420_USE_YV12', true)