Move OPTIONS_UNSET outside of the PBUILD_FLAGS variable, otherwise the

textproc/docproj port build fails.

Pointyhat:	gjb
MFC after:	3 days
X-Before-RC1:	yes
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2013-11-30 23:56:26 +00:00
parent 4e918fd37b
commit 8bf3303aa0

View File

@ -176,9 +176,9 @@ build_doc_ports() {
_OSVERSION=$(sysctl -n kern.osreldate)
if [ -d ${CHROOTDIR}/usr/doc ] && [ "x${NODOC}" = "x" ]; then
PBUILD_FLAGS="OSVERSION=${_OSVERSION} BATCH=yes"
PBUILD_FLAGS="${PBUILD_FLAGS} OPTIONS_UNSET='FOP IGOR'"
PBUILD_FLAGS="${PBUILD_FLAGS}"
chroot ${CHROOTDIR} make -C /usr/ports/textproc/docproj \
${PBUILD_FLAGS} install clean distclean
${PBUILD_FLAGS} OPTIONS_UNSET="FOP IGOR" install clean distclean
fi
}