Date: Sun, 7 Sep 2014 22:34:25 -0400 From: Glen Barber <gjb@FreeBSD.org> To: yaneurabeya@gmail.com Cc: freebsd-current@freebsd.org Subject: Re: NO INET6 warning Message-ID: <20140908023425.GF48287@hub.FreeBSD.org> In-Reply-To: <B83C39FA-AA8B-4A8D-9441-2BD1BAC380FC@gmail.com> References: <1410123815.10027.18.camel@bruno> <20140907210802.GA48287@hub.FreeBSD.org> <B83C39FA-AA8B-4A8D-9441-2BD1BAC380FC@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--R6sEYoIZpp9JErk7 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 07, 2014 at 03:34:35PM -0700, yaneurabeya@gmail.com wrote: > On Sep 7, 2014, at 14:08, Glen Barber <gjb@FreeBSD.org> wrote: >=20 > > On Sun, Sep 07, 2014 at 02:03:35PM -0700, Sean Bruno wrote: > >> make[4]: "/home/sbruno/bsd/fbsd_head/sys/modules/if_gif/Makefile" line > >> 12: warning: Couldn't read shell's output for > >> "cat /home/sbruno/bsd/obj/mips/mips.mips/home/sbruno/bsd/fbsd_head/sys= /WZR-300HP/opt_inet6.h" > >>=20 > >>=20 > >> Shouldn't this cat be done in a saner way? > >>=20 > >=20 > > This is done quite often throughout the tree, and bmake(1) does not like > > it when there is no value assigned from the '!=3D' expansion. > >=20 > > The fix I've seen most commonly done is to echo a newline after the > > assignment, such as: > >=20 > > Index: sys/modules/if_gif/Makefile > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > --- sys/modules/if_gif/Makefile (revision 271215) > > +++ sys/modules/if_gif/Makefile (working copy) > > @@ -9,7 +9,7 @@ KMOD=3D if_gif > > SRCS=3D if_gif.c in_gif.c opt_inet.h opt_inet6.h opt_mrouting.h > >=20 > > .if defined(KERNBUILDDIR) > > -OPT_INET6!=3D cat ${KERNBUILDDIR}/opt_inet6.h > > +OPT_INET6!=3D cat ${KERNBUILDDIR}/opt_inet6.h; echo > > .if empty(OPT_INET6) > > MK_INET6_SUPPORT=3Dno > > .endif >=20 > Shouldn=E2=80=99t this all be removed and replaced with equivalent logic = provided by kern.opts.mk? Probably. Glen --R6sEYoIZpp9JErk7 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJUDRWxAAoJELls3eqvi17QtBYQAMsa5gqje3unXKAgz+xZHzrV g0/6XQG45+XvG2lQPq7Qk4JR4ONSuGxTwmucIQhqRfh0rMxkDdBzQ8Xv/REON0O6 f0WmmTpS4w7jJUmRzjWm9bSvkOrFeGfvJEh2gFACXhtrpeYejRHvWXBlueyxeTcQ brHc4xo55X2FMpW4WddJcVsZHuM7j7+5bsOtkA7A+O4h9qpG7iqVNZE0RHpTO/Ht aM+BOLcmvuT1zx6YJyf/Us792NE/7l/JZYMgOE1tSydN2VwOK/X9koaOhb5JjF2j +v0lLBztq+NXJQdF9Le0B5uVpf5lhQvLY0XwMFAvBUY+qk5kxIr+SZbXB+zmpW1y QPE/bqCm9KbiGKqstwM1WSVLSB261F0LHUteCbXXrrMdj6f8SokWgOXrJrPs539o QEsq/f68rilQshCk+Zziqri6M34hjyAogHg8riItEIIksGDUq0sLAW1b8ChnvmlP BHYg89mgMoI87MDvRRDYe0yn6JqSo7ohBOW2QEPLkvOAdImr2dJGnYoxWqhd7d7A 60ADHrqbRae7wnl0dg36e2zVlkawRKdTqCv9Qgg2RT5FyzqE0mLP4EWyP2HwIXvY 3lSZ1dVKjbTsz3DdUeuFq/Y/Z3GPWJ10omFlBi51mrfAp2srGEFIkjTlzTo7IyEg xfm1JWK37P/gKORiUXTg =3gqA -----END PGP SIGNATURE----- --R6sEYoIZpp9JErk7--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140908023425.GF48287>