dma: fix musl build

This commit is contained in:
Duncaen 2020-02-17 15:59:39 +01:00
parent 4ef0a61aa1
commit 75989dba69
No known key found for this signature in database
GPG key ID: 335C1D17EC3D6E35

View file

@ -17,6 +17,10 @@ system_accounts="mail"
provides="smtp-server-0_1 smtp-forwarder-0_1"
replaces="smtp-server>=0 smtp-forwarder>=0"
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi
do_build() {
make PREFIX=/usr SBIN=/usr/bin CC=$CC LEX=flex ${makejobs}
}