fbset: unbreak glibc... sigh.

This commit is contained in:
Juan RP 2015-10-23 18:00:05 +02:00
parent 324ef2d7f6
commit 0f3b976f88

View file

@ -14,7 +14,9 @@ distfiles="http://ftp.de.debian.org/debian/pool/main/f/fbset/fbset_${version}.or
checksum=517fa062d7b2d367f931a1c6ebb2bef84907077f0ce3f0c899e34490bbea9338
do_build() {
sed -e 's,__u32,uint32_t,g' -i fbset.h
case "$XBPS_TARGET_MACHINE" in
*-musl) sed -e 's,__u32,uint32_t,g' -i fbset.h ;;
esac
sed -e 's,$(DESTDIR)/bin,$(DESTDIR)/usr/bin,g' -i Makefile
make CC=$CC CFLAGS="$CFLAGS" ${makejobs}
}