Files
src/base/patches/pkgsrc-bootstrap-mouse.patch
T
2026-08-04 17:59:44 +01:00

14 lines
426 B
Diff

--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -683,7 +683,9 @@ Linux)
fi
# Debian/Ubuntu's awk is mawk, and mawk does not understand
# some regexps used in pkgsrc/mk.
- if [ -f /etc/debian_version ]; then
+ if [ -f /etc/mouse-release ]; then
+ bootstrap_awk=/usr/bin/awk
+ elif [ -f /etc/debian_version ]; then
need_awk=yes
# Arch uses gawk 5 that breaks some regexps. It doesn't provide pax
# anymore.