[Bug 211261] [patch] fix dependency for USES=tk

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jul 21 05:43:26 UTC 2016


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

            Bug ID: 211261
           Summary: [patch] fix dependency for USES=tk
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Some People
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr at FreeBSD.org
          Reporter: dbn at FreeBSD.org
                CC: freebsd-ports-bugs at FreeBSD.org
          Keywords: patch

Created attachment 172769
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=172769&action=edit
Patch Mk/Uses/tcl.mk to fix stage-qa error

When compiling x11-toolkits/pypy-tkinter I get the following warning message:

====> Running Q/A tests (stage-qa)
Error: /usr/local/pypy-5.3/lib_pypy/_tkinter/tklib_cffi.pypy-41.so is linked to
/usr/local/lib/libtcl86.so.1 from lang/tcl86 but it is not declared as a
dependency
Warning: you need USES+=tcl

However, adding tcl does to USES does not fix the problem.  The reason is that
tcl.mk overrides the _TCLTK_LIB_LINE variable.  

Since tk depends on tcl, and any port linking to tk will also link to tcl, I
propose the attached patch that includes tcl with tk in the LIB_DEPENDS.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list