make: just fetch required sample.ucl for package build

Checking out a ports tree seems to be a bit over the top.
This commit is contained in:
Franco Fichtner 2016-04-11 22:26:28 +02:00
parent 1d0bc197cd
commit ebf6cef800

View File

@ -186,6 +186,11 @@ package: force
@if [ -f ${WRKDIR}/.mount_done ]; then \
echo "Cannot continue with live mount"; exit 1; \
fi
@if [ ! -f /usr/ports/Keywords/sample.ucl ]; then \
mkdir -p /usr/ports/Keywords; \
cd /usr/ports/Keywords; \
fetch -q https://raw.githubusercontent.com/opnsense/ports/master/Keywords/sample.ucl; \
fi
@${PKG} info gettext-tools > /dev/null
@${PKG} info git > /dev/null
@rm -rf ${WRKSRC} ${PKGDIR}