On Oct 18, 2011, at 19:07, [email protected] wrote:
> Revision: 86077
> http://trac.macports.org/changeset/86077
> Author: [email protected]
> Date: 2011-10-18 17:07:19 -0700 (Tue, 18 Oct 2011)
> Log Message:
> -----------
> user port for devel/libdivecomputer
> Added: users/cal/ports/devel/libdivecomputer/Portfile
> +# declare universal variant, so get_canonical_archflags works
> +variant universal {}
But you don't ever use [get_canonical_archflags] anywhere.
> +configure.env-append LIBUSB_CFLAGS=-I${prefix}
That's strange... -I is for specifying paths to include files, and there
shouldn't be any include files directly in ${prefix}. They should be in
${prefix}/include. And MacPorts already puts -I${prefix}/include in the
CPPFLAGS for you.
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev