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

ports/libraries/libedit/add.sh


set -e
 
git clone https://github.com/ThomasAdam/libedit.git
cd libedit
# libtoolize can deposit 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 -- copying it into place
# first works around it.
autoreconf -fi || { cp ../ltmain.sh . 2>/dev/null && autoreconf -fi; }
./configure CC="${CC:-cc}" CFLAGS="-std=gnu17 $CFLAGS" --prefix=$MP_PREFIX
make
make install
make clean || true
powered by btf.