Index: head/audio/libaudec/Makefile =================================================================== --- head/audio/libaudec/Makefile (revision 536015) +++ head/audio/libaudec/Makefile (revision 536016) @@ -1,27 +1,29 @@ # $FreeBSD$ PORTNAME= libaudec DISTVERSIONPREFIX= v DISTVERSION= 0.2.2 CATEGORIES= audio devel MAINTAINER= yuri@FreeBSD.org COMMENT= Wrapper library over ffmpeg, sndfile and libsamplerate LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libsamplerate.so:audio/libsamplerate \ libsndfile.so:audio/libsndfile USES= compiler:c11 meson pkgconfig USE_GITHUB= yes GH_ACCOUNT= alex-tee USE_LDCONFIG= yes +MESON_ARGS= -Dbuild-tests=false + PLIST_FILES= bin/audec \ include/audec/audec.h \ lib/libaudec.so \ libdata/pkgconfig/audec.pc .include Index: head/audio/libaudec/files/patch-meson.build =================================================================== --- head/audio/libaudec/files/patch-meson.build (revision 536015) +++ head/audio/libaudec/files/patch-meson.build (revision 536016) @@ -1,11 +1,22 @@ ---- meson.build.orig 2020-01-06 04:43:34 UTC +--- meson.build.orig 2020-05-16 11:50:13 UTC +++ meson.build -@@ -160,7 +160,7 @@ config_h_dep = declare_dependency ( +@@ -177,7 +177,7 @@ config_h_dep = declare_dependency ( ) audec_deps += config_h_dep -audec = static_library ( +audec = shared_library ( '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 = [ + '',