[MacPorts] #34569: libshout2: shout.pc not installed
MacPorts
noreply at macports.org
Mon May 21 19:50:38 PDT 2012
#34569: libshout2: shout.pc not installed
------------------------------------+---------------------------------------
Reporter: brian.quandt@… | Owner: ryandesign@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.1.1
Keywords: | Port: libshout2
------------------------------------+---------------------------------------
Changes (by ryandesign@…):
* owner: macports-tickets@… => ryandesign@…
* status: new => assigned
* cc: ryandesign@… (removed)
Comment:
Ok, I've downloaded the binary packages for 10.6 and 10.7 from
http://packages.macports.org/libshout2/ and confirmed that shout.pc is
missing from them. (We don't have any binaries for 10.4 or 10.5.)
The reason appears to be this gem in libshout2's Makefile.am:
{{{
if HAVE_PKGCONFIG
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = shout.pc
else
bin_SCRIPTS = shout-config
endif
}}}
So, if pkg-config is installed, then it installs shout.pc, otherwise it
installs the shout-config program. That's extremely weird. Most programs
always install both, or (since separate config scripts are deprecated now
that pkg-config exists), just a pkg-config file.
So we need to add a port:pkgconfig dependency to the libshout2 port to get
it to install shout.pc.
--
Ticket URL: <https://trac.macports.org/ticket/34569#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list