[MacPorts] #31481: mtpaint: gtk1 variant still uses freetype
MacPorts
noreply at macports.org
Sun Oct 2 07:37:24 PDT 2011
#31481: mtpaint: gtk1 variant still uses freetype
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: afb@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port: mtpaint
-------------------------------------+--------------------------------------
Although the gtk1 variant of mtpaint tries to turn off freetype, and the
configure summary says it's off, it's not; it still links with
libfreetype. This is because the flags `-lpng -lz -lfreetype` are always
getting into the L_EX variable because of the following unconditional
directives in the configure script, and what the LIB_NAME function does:
{{{
LIB_NAME png "$STATIC_PNG"
LIB_NAME z "$STATIC_PNG"
LIB_NAME freetype "$STATIC_FT"
}}}
Possible solutions:
* Patch out the `LIB_NAME freetype` call when the gtk1 variant is
selected
* Have the gtk1 variant just leave freetype support enabled (why was it
disabled?)
* Delete the gtk1 variant entirely (why would anyone need it with gtk2
available?)
--
Ticket URL: <https://trac.macports.org/ticket/31481>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list