Created attachment 184739 [details] Set MAKEINFO to the full path of makeinfo Some times it is useful to know the full path of makeinfo when USES=makeinfo is set. This patch defines MAKEINFO for us.
There are ports that define a MAKEINFO variable and that use USES=makeinfo, could you either fix those by changing the variable they use, or use another variable, like MAKEINFO_CMD?
Created attachment 184777 [details] Set MAKEINFO to the full path of makeinfo This patch also fixes devel/openocd and graphics/enblend. These ports needed makeinfo from print/texinfo because makeinfo from old releases failed to build info files. Now both ports build fine with makeinfo from 10.3.
BTW, graphics/enblend was using ${LOCALBASE}/bin/makeinfo since r301388. https://svnweb.freebsd.org/changeset/ports/301388 Then, r428755 erroneously removed print/texinfo from BUILD_DEPENDS. https://svnweb.freebsd.org/changeset/ports/428755 On 10.3, however, setting USES=makeinfo does NOT add it to dependency. In fact, a similar thing happened for devel/openocd with r428754. https://svnweb.freebsd.org/changeset/ports/428754 Then, it was reverted in r428777 because it broke build. https://svnweb.freebsd.org/changeset/ports/428777 I guess r428755 was never reverted because it does not break build.
This looks ok, please ask for an exp-run before committing it.
Exp-run looks fine.
A commit references this bug: Author: jkim Date: Fri Jul 28 21:45:22 UTC 2017 New revision: 446854 URL: https://svnweb.freebsd.org/changeset/ports/446854 Log: Set MAKEINFO to the full path of makeinfo when USES=makeinfo is set. PR: 221027 Reviewed by: mat Approved by: portmgr (antoine) Changes: head/Mk/Uses/makeinfo.mk head/audio/glame/Makefile head/databases/bbdb/Makefile head/deskutils/gcal/Makefile head/devel/cutils/Makefile head/devel/libmatheval/Makefile head/devel/m4/Makefile head/devel/monotone/Makefile head/devel/openocd/Makefile head/editors/flim/Makefile head/editors/semi/Makefile head/ftp/wget/Makefile head/games/heroes/Makefile head/graphics/aalib/Makefile head/graphics/enblend/Makefile head/math/gmp/Makefile head/math/mingw32-libgmp/Makefile head/security/libgcrypt/Makefile head/textproc/flex/Makefile head/textproc/gsed/Makefile