[MacPorts] #63023: vim @8.2.2681 [+gtk2]: not building gvim component if pkgconfig missing

MacPorts noreply at macports.org
Thu Jun 3 23:59:44 UTC 2021


#63023: vim @8.2.2681 [+gtk2]: not building gvim component if pkgconfig missing
--------------------------+--------------------
 Reporter:  NateCrawford  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.7.1
 Keywords:                |       Port:  vim
--------------------------+--------------------
 vim +gtk2 will happily build, but without GUI. The configure script is
 unable to check the GTK2 version and skips enabling it:
 {{{
 checking --enable-gui argument... GTK+ 2.x GUI support
 checking for pkg-config... no
 checking --disable-gtktest argument... gtk test enabled
 }}}

 After installing pkgconfig, it can do the version check and will build
 with GUI:
 {{{
 checking --enable-gui argument... GTK+ 2.x GUI support
 checking for pkg-config... /opt/local/bin/pkg-config
 checking --disable-gtktest argument... gtk test enabled
 checking for GTK - version >= 2.2.0... yes; found version 2.24.32
 }}}

 The pkgconfig port should be marked as a dependency for at least the +gtk2
 variant.

 Possibly relevant: Apple M1 Mac Mini with MacOS 11.4 (Big Sur)

-- 
Ticket URL: <https://trac.macports.org/ticket/63023>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list