[MacPorts] #8221: RFE: port upgrade should consider variants when computing dependencies
MacPorts
noreply at macports.org
Sat Feb 7 07:26:40 PST 2009
#8221: RFE: port upgrade should consider variants when computing dependencies
--------------------------------------+-------------------------------------
Reporter: ryandesign@… | Owner: gwhitney@…
Type: enhancement | Status: closed
Priority: Normal | Milestone: MacPorts 1.8.0
Component: base | Version:
Resolution: fixed | Keywords:
Port: |
--------------------------------------+-------------------------------------
Comment(by devans@…):
It still does not honor variants set in variants.conf. In my case,
building gimp2 in a MacPorts installation where
+no_x11 +quartz is set in variants.conf.
{{{
port upgrade gimp2
}}}
follows the default variants in dependencies causing
X11 libraries to be installed but
{{{
port deactivate gimp2
port install gimp2
}}}
works correctly. So I think you need to add support for variants in
variants.conf.
Note that this also happens for port deps
{{{
port deps gtk2 (with variants +no_x11 +quartz in variants.conf)
gtk2 has build dependencies on:
pkgconfig
gtk-doc
gtk2 has library dependencies on:
cairo
fontconfig
freetype
glib2
jpeg
tiff
libiconv
libpng
jasper
atk
pango
gettext
zlib
xorg-libXi
xorg-libXrandr
xorg-libXcursor
xorg-libXinerama
xorg-libXdamage
xorg-libXcomposite
xorg-libXfixes
gtk2 has runtime dependencies on:
shared-mime-info
}}}
which always shows dependencies based on the default variants without
regard to variants.conf
but
{{{
port deps gtk2 +no_x11
gtk2 has build dependencies on:
pkgconfig
gtk-doc
gtk2 has library dependencies on:
cairo
fontconfig
freetype
glib2
jpeg
tiff
libiconv
libpng
jasper
atk
pango
gettext
zlib
gtk2 has runtime dependencies on:
shared-mime-info
}}}
Perhaps there is shared code?
--
Ticket URL: <http://trac.macports.org/ticket/8221#comment:18>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list