From edd0dfc5fe7d89d25dbc5539fff141a83bc4e931 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Sat, 26 Nov 2016 07:13:34 +0000 Subject: [PATCH] cgit: fix musl build --- srcpkgs/cgit/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/cgit/template b/srcpkgs/cgit/template index 2494cb7d4c3..4dd89e1051e 100644 --- a/srcpkgs/cgit/template +++ b/srcpkgs/cgit/template @@ -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() {