Opened 3 years ago

Closed 3 years ago

#63023 closed defect (fixed)

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

Reported by: NateCrawford (Nathan Crawford) Owned by: evanmiller (Evan Miller)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: raimue@…, evanmiller (Evan Miller)
Port: vim

Description

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)

Change History (2)

comment:1 Changed 3 years ago by evanmiller (Evan Miller)

Cc: evanmiller added

comment:2 Changed 3 years ago by evanmiller (Evan Miller)

Owner: set to evanmiller
Resolution: fixed
Status: newclosed

In be04f497daf51238541fa46fa0cf783dae461339/macports-ports (master):

vim: +gtk2 and +gtk3 need pkgconfig

Closes: #63023

Note: See TracTickets for help on using tickets.