dhcpcd-gtk: fix musl build
This commit is contained in:
parent
84ed4e0787
commit
2b3ce1627e
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue