diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2020-09-20 16:50:16 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2020-09-20 16:50:16 +0000 |
commit | ba36d24c5287ab4b2e80250f40ed0b3dc496b69e (patch) | |
tree | 8a35ab8b29b988f2a8a0fa4619fde08470436b32 | |
parent | 1353618573b663f18334ad6c3b3c3c44824d6e24 (diff) | |
download | ports-ba36d24c5287ab4b2e80250f40ed0b3dc496b69e.tar.gz ports-ba36d24c5287ab4b2e80250f40ed0b3dc496b69e.zip |
MFH: r549089
audio/libaudec: Fix the i386 build by properly excluding tests from the build
Reported by: fallout
Approved by: ports-secteam (fluffy)
Notes
Notes:
svn path=/branches/2020Q3/; revision=549123
-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 e6834f5bfaa1..34ede6c35936 100644 --- a/audio/libaudec/Makefile +++ b/audio/libaudec/Makefile @@ -19,7 +19,7 @@ USE_GITHUB= yes GH_ACCOUNT= alex-tee 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 = [ - '', |