srm: fix musl

This commit is contained in:
John 2018-01-07 23:05:50 +01:00 committed by Toyam Cox
parent 9bed6689b9
commit 9ed2f5cb4e
1 changed files with 4 additions and 0 deletions

View File

@ -10,6 +10,10 @@ homepage="http://srm.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/srm/srm-${version}.tar.gz"
checksum=7583c1120e911e292f22b4a1d949b32c23518038afd966d527dae87c61565283
case $XBPS_TARGET_MACHINE in
*-musl) CFLAGS="-D__USE_GNU -D_GNU_SOURCE";;
esac
post_install() {
vlicense COPYING LICENSE
}