Add BUILD_DEPENDS+= of TeX package. This is currently
required to generate files under doc. Also one line
patch to avoid stop processing doc file.

BUILD_DEPENDS and buildlink3.mk may have redundent lines
for now, sorry.