Fetch BSD regex from GitHub at build time

Replace bundled Spencer regex with a fetch-regex build step that
clones https://github.com/garyhouston/regex.git, generates the
required .ih and regex.h headers via mkh, and copies the result
into sys/amiga/regex/.

Usage: make CROSS_TO_AMIGA=1 fetch-regex

The fetched sources are not tracked in git.
This commit is contained in:
Ingo Paschke
2026-03-24 01:21:00 +01:00
parent cb0b11be11
commit c5dfd1fc5c
13 changed files with 37 additions and 3706 deletions

View File

@@ -472,6 +472,7 @@ ifdef CROSS_TO_AMIGA
# Install to /opt/amiga, then:
# sys/unix/setup.sh sys/unix/hints/linux.370
# make fetch-lua
# make CROSS_TO_AMIGA=1 fetch-regex
# make CROSS_TO_AMIGA=1 all
# make CROSS_TO_AMIGA=1 package
#=================================================================