Different deps shown on console and web
Clemens Lang
cal at macports.org
Sun May 12 15:06:21 PDT 2013
Hi,
On Sun, May 12, 2013 at 11:29:10PM +0200, MK-MacPorts at techno.ms wrote:
> I noticed that
> http://www.macports.org/ports.php?by=name&substr=abtransfers
> shows qt4-x11 as dependency, although the Portfile has qt4-mac defined and "port info abtransfers" also shows qt4-mac, as expected:
> ---
> $ port deps abtransfers
> Full Name: abtransfers @0.0.4.0_0
> Build Dependencies: pkgconfig
> Library Dependencies: qt4-mac, aqbanking5
> ---
The reason is in _resources/port1.0/group/qt4-1.0.tcl:
if {${os.platform} == "darwin"} {
# see if the framework install exists, and if so depend on it;
# if not, depend on the library version
if {[file exists ${qt_frameworks_dir}/QtCore/QtCore]} {
depends_lib-append path:Library/Frameworks/QtCore/QtCore:qt4-mac
} else {
depends_lib-append path:lib/libQtCore.4.dylib:qt4-mac
}
} else {
depends_lib-append path:lib/libQtCore.so.4:qt4-x11
}
Since the website is generated on a Linux box, ${os.platform} is not
"darwin".
--
Clemens Lang
More information about the macports-dev
mailing list