> On Oct 7, 2017, at 16:24, Ken <[email protected]> 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 <[email protected]>
> 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
}