macports functions, more macports stubs