From 2b3ce1627ef435f102049218665835db28103b4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Thu, 24 Sep 2020 19:12:30 +0200 Subject: [PATCH] dhcpcd-gtk: fix musl build --- srcpkgs/dhcpcd-gtk/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/dhcpcd-gtk/template b/srcpkgs/dhcpcd-gtk/template index af5bddc45c..80f03c51f8 100644 --- a/srcpkgs/dhcpcd-gtk/template +++ b/srcpkgs/dhcpcd-gtk/template @@ -15,6 +15,10 @@ homepage="http://roy.marples.name/projects/dhcpcd-ui" distfiles="http://roy.marples.name/downloads/dhcpcd/dhcpcd-ui-$version.tar.xz" checksum=81d448f82c9aa88ff85e4bc3cead5e4c7f3ea08e57c713dff9996fb5ba2c42b0 +if [ "${XBPS_TARGET_LIBC}" = musl ]; then + makedepends+=" musl-legacy-compat" +fi + pre_install() { head -n 25 src/dhcpcd-gtk/dhcpcd-gtk.h > LICENSE }