maintainer-feedback requested: [Bug 208874] devel/tclxml not PREFIX-safe

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Apr 17 21:05:18 UTC 2016


Mikhail Teterin <mi at FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to tcltk at FreeBSD.org:
Bug 208874: devel/tclxml not PREFIX-safe
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208874



--- Description ---
Created attachment 169411
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=169411&action=edit
Replace /usr/local with ${PREFIX} and only build documentation, if needed

The problem is obvious and the patch is trivial, but without it the newly-built
code fails to find itself under ${STAGEDIR} and can not generate its own
documentation:

-MAKE_ENV+=	TCLLIBPATH=${STAGEDIR}/usr/local/lib
+MAKE_ENV+=	TCLLIBPATH=${STAGEDIR}/${PREFIX}/lib

The second hunk in the patch stops generating the (useless) PORTDOCS, when docs
are disabled.

The port fails numerous self-tests after building -- this patch does not
address that problem.


More information about the freebsd-tcltk mailing list