[macports-ports] branch master updated: fish: fix build on Tiger
Ryan Schmidt
ryandesign at macports.org
Sat Oct 7 22:56:32 UTC 2017
> On Oct 7, 2017, at 16:24, Ken <kencu at macports.org> wrote:
>
> Ken (kencu) pushed a commit to branch master
> in repository macports-ports.
>
>
> https://github.com/macports/macports-ports/commit/d14304ee7ae30252ab1dc0064c228909e2169c02
>
> The following commit(s) were added to refs/heads/master by this push:
>
> new d14304e fish: fix build on Tiger
>
> d14304e is described below
>
>
> commit d14304ee7ae30252ab1dc0064c228909e2169c02
>
> Author: kencu <ken.cunningham.webuse at gmail.com>
> AuthorDate: Sat Oct 7 14:22:37 2017 -0700
>
>
> fish: fix build on Tiger
>
>
>
> tiny fix to allow successful install on Tiger
> +# fix build on Tiger
> +if { ${os.platform} eq "darwin" && ${os.major} == 8 } {
> + configure.cxxflags-append -D__DARWIN_UNIX03=1
> +}
This is fine, but note that you can also write, more simply:
platform darwin 8 {
configure.cxxflags-append -D__DARWIN_UNIX03=1
}
More information about the macports-dev
mailing list