[MacPorts] #24680: Root correct ${prefix} libs and includes linking