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() {