Index: head/Mk/Uses/makeinfo.mk =================================================================== --- head/Mk/Uses/makeinfo.mk +++ head/Mk/Uses/makeinfo.mk @@ -15,11 +15,8 @@ IGNORE= USES=makeinfo - expects no arguments .endif -.if exists(/usr/bin/makeinfo) -MAKEINFO?= /usr/bin/makeinfo -.else -BUILD_DEPENDS+= makeinfo:print/texinfo +# Depend specifically on makeinfo from ports +BUILD_DEPENDS+= ${LOCALBASE}/bin/makeinfo:print/texinfo MAKEINFO?= ${LOCALBASE}/bin/makeinfo -.endif .endif