[MacPorts] #27805: openconnect @2.25_1 gconf is not necessary to build the port

MacPorts noreply at macports.org
Sat Jan 1 20:32:58 PST 2011


#27805: openconnect @2.25_1 gconf is not necessary to build the port
-----------------------------------+----------------------------------------
 Reporter:  chris.walter@…         |       Owner:  Mathias.Laurin+macports@…        
     Type:  defect                 |      Status:  new                              
 Priority:  Normal                 |   Milestone:                                   
Component:  ports                  |     Version:  1.9.2                            
 Keywords:                         |        Port:  openconnect                      
-----------------------------------+----------------------------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (added)


Comment:

 I see lines in the Makefile like:
 {{{
 GTK_CFLAGS += $(shell pkg-config --cflags gtk+-x11-2.0 gthread-2.0
 2>/dev/null)
 ...
 GCONF_CFLAGS += $(shell pkg-config --cflags gconf-2.0 2>/dev/null)
 }}}
 This means openconnect needs a build-time dependency on `port:pkgconfig`,
 and that openconnect uses gconf and gtk2 if present. Therefore, you can't
 simply delete the gconf dependency from openconnect as you propose,
 because openconnect will still make use of gconf if the user happens to
 have installed it before openconnect. The possible courses of action are
 to either leave the gconf dependency in place (and add a pkgconfig
 dependency), or, if you desire to delete it, then you must find a way to
 inform openconnect that it may not use gconf even if it is already present
 (and, optionally, add a variant to then re-enable gconf support).

 Note that we generally prefer ports in MacPorts to be as fully-featured as
 possible; if we obey that rule of thumb, then we would close this ticket
 with no changes to the port.

-- 
Ticket URL: <https://trac.macports.org/ticket/27805#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list