From 814244f3fc4619c1748d2ae9b29675c417d5f1ea Mon Sep 17 00:00:00 2001 From: Juergen Buchmueller Date: Mon, 3 Oct 2016 18:26:22 +0200 Subject: [PATCH] libavc1394: fix musl --- srcpkgs/libavc1394/template | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/srcpkgs/libavc1394/template b/srcpkgs/libavc1394/template index 458d876edb9..36ebc205662 100644 --- a/srcpkgs/libavc1394/template +++ b/srcpkgs/libavc1394/template @@ -12,6 +12,13 @@ homepage="http://sourceforge.net/projects/libavc1394/" distfiles="${SOURCEFORGE_SITE}/libavc1394/${pkgname}-${version}.tar.gz" checksum=7cb1ff09506ae911ca9860bef4af08c2403f3e131f6c913a2cbd6ddca4215b53 +case "$XBPS_TARGET_MACHINE" in + *-musl) # Requires argp functions + makedepends+=" argp-standalone" + LDFLAGS="-largp" + ;; +esac + libavc1394-devel_package() { depends="${sourcepkg}>=${version}_${revision}" short_desc+=" - development files"