Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Apr 2016 21:05:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 208874] devel/tclxml not PREFIX-safe
Message-ID:  <bug-208874-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208874

            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@FreeBSD.org
          Reporter: mi@FreeBSD.org
          Assignee: tcltk@FreeBSD.org
             Flags: maintainer-feedback?(tcltk@FreeBSD.org),
                    maintainer-feedback?

Created attachment 169411
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D169411&action=
=3Dedit
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-b=
uilt
code fails to find itself under ${STAGEDIR} and can not generate its own
documentation:

-MAKE_ENV+=3D     TCLLIBPATH=3D${STAGEDIR}/usr/local/lib
+MAKE_ENV+=3D     TCLLIBPATH=3D${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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208874-13>