[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


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208874

            Bug ID: 208874
           Summary: devel/tclxml not PREFIX-safe
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: easy, patch-ready
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: tcltk at FreeBSD.org
          Reporter: mi at FreeBSD.org
          Assignee: tcltk at FreeBSD.org
             Flags: maintainer-feedback?(tcltk at FreeBSD.org),
                    maintainer-feedback?

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-tcltk mailing list