On Mar 2, 2009, at 10:24, [email protected] wrote:


+build.target       build_ext
+build.args         -I/opt/local/include

You must not hard-code /opt/local into portfiles because MacPorts may be in a different prefix. Use ${prefix} instead.

Also note -I${prefix}/include is really more of a C pre-processor directive than a build argument. So you may want to instead:

build.env-append CPPFLAGS=-I${prefix}/include

assuming the software supports CPPFLAGS. If not, try CFLAGS instead.


The same feedback applies to py25-biggles from r47636.


_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to