Commit c1ffbbd5 authored by Franco Fichtner's avatar Franco Fichtner

make: just fetch required sample.ucl for package build

Checking out a ports tree seems to be a bit over the top.

(cherry picked from commit ebf6cef8)
parent ba02877f
......@@ -185,6 +185,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}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment