diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2020-09-20 08:39:45 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2020-09-20 08:39:45 +0000 |
commit | 3d5de08987e3f3c78ff90d53479c4109be6b580f (patch) | |
tree | f3c7d4c84c2d7a6d0e48ed049c32df21b48ce93b /audio/libaudec | |
parent | a855c29c3576cc759587437b4b8e68257f4cb5ef (diff) | |
download | ports-3d5de08987e3f3c78ff90d53479c4109be6b580f.tar.gz ports-3d5de08987e3f3c78ff90d53479c4109be6b580f.zip |
audio/libaudec: Fix the i386 build by properly excluding tests from the build
Reported by: fallout
MFH: 2020Q3
Notes
Notes:
svn path=/head/; revision=549089
Diffstat (limited to 'audio/libaudec')
-rw-r--r-- | audio/libaudec/Makefile | 2 | ||||
-rw-r--r-- | audio/libaudec/files/patch-meson.build | 15 |
2 files changed, 3 insertions, 14 deletions
diff --git a/audio/libaudec/Makefile b/audio/libaudec/Makefile index 63f0f6b884aa..c4df19f957af 100644 --- a/audio/libaudec/Makefile +++ b/audio/libaudec/Makefile @@ -19,7 +19,7 @@ USE_GITHUB= yes GH_ACCOUNT= zrythm USE_LDCONFIG= yes -MESON_ARGS= -Dbuild-tests=false +MESON_ARGS= -Dtests=false PLIST_FILES= bin/audec \ include/audec/audec.h \ diff --git a/audio/libaudec/files/patch-meson.build b/audio/libaudec/files/patch-meson.build index 3efa8a6de476..46ff0fd35921 100644 --- a/audio/libaudec/files/patch-meson.build +++ b/audio/libaudec/files/patch-meson.build @@ -1,6 +1,6 @@ ---- meson.build.orig 2020-05-16 11:50:13 UTC +--- meson.build.orig 2020-08-15 13:40:04 UTC +++ meson.build -@@ -177,7 +177,7 @@ config_h_dep = declare_dependency ( +@@ -162,7 +162,7 @@ config_h_dep = declare_dependency ( ) audec_deps += config_h_dep @@ -9,14 +9,3 @@ 'audec', sources: srcs, dependencies: [ -@@ -212,7 +212,9 @@ audec_exe = executable ( - install: not meson.is_subproject(), - ) - --subdir('tests') -+if get_variable('build-tests', true) -+ subdir('tests') -+endif - - summary = [ - '', |