diff --git a/share/mk/bsd.port.mk b/share/mk/bsd.port.mk index 2392b8fd69ed..4d6f64019027 100644 --- a/share/mk/bsd.port.mk +++ b/share/mk/bsd.port.mk @@ -3,5 +3,8 @@ PORTSDIR?= /usr/ports BSDPORTMK?= ${PORTSDIR}/Mk/bsd.port.mk +# Needed to keep bsd.own.mk from reading in /etc/src.conf when building ports. +SRCCONF= /dev/null + .include .include "${BSDPORTMK}"