mg: fix GNUmakefile.
This commit is contained in:
parent
faff49dcaa
commit
f8c0cfec10
@ -16,6 +16,10 @@ case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) CFLAGS+=" -DREG_STARTEND=0";;
|
||||
esac
|
||||
|
||||
post_extract() {
|
||||
sed -i 's/util.c/util.o/g' GNUmakefile
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
sed -i "s,\(BSD_CPPFLAGS:=\).*,\1 -isystem ${XBPS_CROSS_BASE}/usr/include/bsd -DLIBBSD_OVERLAY,g" GNUmakefile
|
||||
sed -i "s,\(BSD_LIBS:=\).*,\1 -lbsd,g" GNUmakefile
|
||||
|
Loading…
Reference in New Issue
Block a user