[MacPorts] #55054: configure.pkg_config_path does not work with more than one value
MacPorts
noreply at macports.org
Tue Oct 10 14:20:33 UTC 2017
#55054: configure.pkg_config_path does not work with more than one value
---------------------------------+-----------------
Reporter: MarcusCalhoun-Lopez | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version:
Keywords: | Port:
---------------------------------+-----------------
The latest version of avahi requires .pc files located in both[[BR]]
{{{${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig}}}[[BR]]
and[[BR]]
{{{${prefix}/libexec/qt4/lib/pkgconfig}}}.
The resulting environmental variable is:
{{{
PKG_CONFIG_PATH='/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig
/opt/local/libexec/qt4/lib/pkgconfig'
}}}
However, the list of directories must be [https://linux.die.net/man/1/pkg-
config colon-separated].
For now, an ugly workaround in the Portfile is:
{{{
pre-configure {
configure.env-append PKG_CONFIG_PATH=[join
${configure.pkg_config_path} ":"]
configure.pkg_config_path
}
}}}
Eventually, the problem should be fixed in the base.
Attached is a proposed fix.
--
Ticket URL: <https://trac.macports.org/ticket/55054>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list