cgit: fix musl build

This commit is contained in:
Michael Gehring 2016-11-26 07:13:34 +00:00
parent b97c4d91a2
commit edd0dfc5fe

View File

@ -18,6 +18,10 @@ checksum="0889af29be15fc981481caa09579f982b9740fe9fd2860ab87dff286f4635890
post_extract() {
rm -r git
mv ../git-$_git_version git
case "$XBPS_TARGET_MACHINE" in
*-musl) sed -i 's/NO_CURL=1/NO_CURL=1 NO_REGEX=NeedsStartEnd/' Makefile ;;
esac
}
pre_build() {