[86077] users/cal/ports

Ryan Schmidt ryandesign at macports.org
Tue Oct 18 19:10:41 PDT 2011


On Oct 18, 2011, at 19:07, cal at macports.org wrote:

> Revision: 86077
>          http://trac.macports.org/changeset/86077
> Author:   cal at macports.org
> 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.




More information about the macports-dev mailing list