do not edit — generated by btf.
git.druid.rocksindexdruid520portsports/sysutils/shadow/add.sh

ports/sysutils/shadow/add.sh


set -e
 
git clone https://github.com/shadow-maint/shadow.git
cd shadow
# 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; }
# --disable-logind: this ports tree has no systemd/logind port at all,
# on any sysroot - nothing for shadow to integrate with regardless of
# which init system is actually installed alongside it.
./configure --prefix=$MP_PREFIX --without-libbsd --without-libpam --disable-nls --disable-logind
make -j$MP_JOBS
make install
make clean || true
powered by btf.