do not edit — generated by btf.
git.druid.rocksindexdruid520portsports/libraries/pcre2/add.sh

ports/libraries/pcre2/add.sh


set -e
 
git clone https://github.com/PCRE2Project/pcre2.git
cd pcre2
# libtoolize deposits ltmain.sh one directory UP from the checkout here
# (an mp staging quirk: the checkout dir shares its parent's name, which
# seems to confuse libtoolize's aux-dir heuristic), while automake looks
# for it at ./ltmain.sh, failing outright ("required file './ltmain.sh'
# not found") -- copying it into place first works around it.
./autogen.sh || { cp ../ltmain.sh . 2>/dev/null && ./autogen.sh; }
./configure --prefix=$MP_PREFIX
make
make install
make clean || true
powered by btf.