svn commit: r439345 - in head/sysutils/cdrdao: . files

Marius Strobl marius at FreeBSD.org
Mon Apr 24 21:55:33 UTC 2017


On Mon, Apr 24, 2017 at 03:37:29PM -0600, Adam Weinberger wrote:
> > On 24 Apr, 2017, at 14:23, Marius Strobl <marius at FreeBSD.org> wrote:
> > 
> > Author: marius
> > Date: Mon Apr 24 20:23:23 2017
> > New Revision: 439345
> > URL: https://svnweb.freebsd.org/changeset/ports/439345
> > 
> > Log:
> >  - Move the inclusion of bsd.port.pre.mk up slightly so ${UNAME} is also
> >    available in the gcdmaster slave port at the required point in time
> >    (it's unclear why this was no problem with the cdrdao port before). [1]
> 
> Because you didn't add the != until r439255. Using != is almost always a bad thing in a port Makefile.

No, the != in r439255 worked for sysutils/cdrdao, but not for its
sysutils/gcdmaster slave.

> Why aren't you using ${ARCH}?

Because ${ARCH} translates to `uname -p` and what's needed here is
the output of `uname -m`. Depending on the architecture FreeBSD is
running on, both outputs are the same or differ.

Marius



More information about the svn-ports-head mailing list