From 9ed2f5cb4e859a264d6edfe7b59b6d3a6c138230 Mon Sep 17 00:00:00 2001 From: John Date: Sun, 7 Jan 2018 23:05:50 +0100 Subject: [PATCH] srm: fix musl --- srcpkgs/srm/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/srm/template b/srcpkgs/srm/template index b747455d7d1..ac7910bba3e 100644 --- a/srcpkgs/srm/template +++ b/srcpkgs/srm/template @@ -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 }