diff options
author | Ismael Luceno | 2019-08-14 20:10:57 +0200 |
---|---|---|
committer | Ismael Luceno | 2019-08-14 20:10:57 +0200 |
commit | 76530c9a3fcf4b71fb200b3e74eabda555d2c40b (patch) | |
tree | 336ce0c9d0980cd30beb217aa6792125dbe3090f /video | |
parent | 0b6b687a214f80564659429710fa099a27a306bc (diff) |
v4l-utils: Fix build against musl
Diffstat (limited to 'video')
-rwxr-xr-x | video/v4l-utils/DEPENDS | 5 | ||||
-rw-r--r-- | video/v4l-utils/HISTORY | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | video/v4l-utils/PRE_BUILD | 17 |
3 files changed, 12 insertions, 11 deletions
diff --git a/video/v4l-utils/DEPENDS b/video/v4l-utils/DEPENDS index 617434cf0e..e4b4efc96e 100755 --- a/video/v4l-utils/DEPENDS +++ b/video/v4l-utils/DEPENDS @@ -4,6 +4,11 @@ depends libx11 && depends OPENGL && depends glu && depends LIBELF && +case "$HOST" in +*-musl) + depends libuargp + ;; +esac && optional_depends GETTEXT '' '--disable-nls' 'NLS support' && optional_depends alsa-lib '' '' 'ALSA support' && optional_depends JPEG '' '--without-jpeg' 'JPEG support' && diff --git a/video/v4l-utils/HISTORY b/video/v4l-utils/HISTORY index a3711a8256..bc81f60722 100644 --- a/video/v4l-utils/HISTORY +++ b/video/v4l-utils/HISTORY @@ -1,5 +1,6 @@ 2019-08-14 Ismael Luceno <ismael@sourcemage.org> * DETAILS: updated spell to 1.16.6 + * PRE_BUILD, DEPENDS: Fixed build against musl 2019-05-18 Ismael Luceno <ismael@sourcemage.org> * DEPENDS: Update dependency; s/gettext/GETTEXT/ diff --git a/video/v4l-utils/PRE_BUILD b/video/v4l-utils/PRE_BUILD index 588fc8d95f..21f95c906c 100644..100755 --- a/video/v4l-utils/PRE_BUILD +++ b/video/v4l-utils/PRE_BUILD @@ -1,11 +1,6 @@ -default_pre_build && -#mk_source_dir $SOURCE_DIRECTORY && -#cd $SOURCE_DIRECTORY && -#sed -i '/update_xdg_mimetypes/D' CMakeLists.txt -# autoreconf -f -i --symlink -#unpack_file -#patch -p0 < $SPELL_DIRECTORY/xxx.diff - -default_pre_build && -cd $SOURCE_DIRECTORY && -apply_patch_dir patches +default_pre_build && +cd "$SOURCE_DIRECTORY" && +case "$HOST" in *-musl) + sedit '/^mc_nextgen_test_LDADD *=/s/$/ -largp/' contrib/test/Makefile.in + ;; +esac |