Ensure /var/run/ld-elf.so.hints exists before building

pkg(8).

MFC after:	3 days
X-MFC-With:	r276820
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
gjb 2015-01-08 14:39:53 +00:00
parent fdfcc69d97
commit edd49ae363

View File

@ -40,6 +40,7 @@ if [ ! -f /usr/ports/Makefile ]; then
fi
if [ ! -x /usr/local/sbin/pkg ]; then
/etc/rc.d/ldconfig restart
/usr/bin/make -C /usr/ports/ports-mgmt/pkg install clean
fi