On Jul 1, 2010, at 17:34, Michael Dickens wrote: > Is there a way -inside a portfile- to determine the header or library > search path for another port (e.g., as provided by "pkg-config > --cflags-only-I dbus-1")? For example, use 'pkg-config' to return > information & save that into a variable locally for manipulation? Right > now I'm hard-coding heading include and library search paths for > dependency ports (into qt4-mac), and it seems to me that a better > solution would be dynamic determination. Thanks in advance! - MLD
Certainly; there are several ports that do this. Grep the portfiles for "exec.*pkg-config" and you should be able to find them easily. _______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
