dhcpcd-gtk: fix musl build

This commit is contained in:
Jürgen Buchmüller 2020-09-24 19:12:30 +02:00
parent 84ed4e0787
commit 2b3ce1627e

View file

@ -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
}