Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Sep 2015 11:53:54 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Lena@lena.kiev.ua, freebsd-x11@freebsd.org, danfe@freebsd.org
Subject:   Re: nvidia-driver: .else if
Message-ID:  <56056E12.6070800@FreeBSD.org>
In-Reply-To: <20150925140436.GA909@lena.kiev>
References:  <20150925140436.GA909@lena.kiev>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 09/25/2015 10:04, Lena@lena.kiev.ua wrote:
> Last commit to  /usr/ports/x11/nvidia-driver/Makefile  inserts:
> 
> .else if ${NVVERSION} >= 304.128 && ${NVVERSION} < 310.019 
> ${REINPLACE_CMD} -E '/libvdpau(_trace)?\.so/d' ${TMPPLIST}
> 
> `make index` warns:
> 
> "Makefile", line 287: warning: junk after .else ignored 'if
> ${NVVERSION} >= 304.128 && ${NVVERSION} < 310.019'
> 
> `man make`:
> 
> .else   Reverse the sense of the last conditional.
> 
> .elif [!]expression [operator expression ...] A combination of
> .else followed by .if.

Sorry, I committed the fix because danfe is on the road.

BTW, I have no idea why I did that.  Originally it was two .if
statements but I merged them at the last minute before asking for
approval.  I thought I tested the last version before I hit the Send
button but I am not sure any more. :-(

Jung-uk Kim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJWBW4OAAoJEHyflib82/FGCH4H/3XXAeIRowqfZZwypy/c+dh6
0UC6mE4c60mRR1UuqeXwXlQ3Rux0YYMbDUBoWoutxPw7bgnvuz36beQbd93eHN2C
C3+bhdzRLPXbWs1JHVD+eRvTnHoxpBiE4DHk6prKAIVN0Ge555i8x1l+nckmbOR8
sU8QEmgg7/zmvSid+PaYGc4yTgzLvv61xF6CrWAZ0GZneCiD6xP2/hDp/ZmVScCx
SgfReuYl4oTw2WDaQsA85SjVoYMb0qeex6w19THBmas1GZOoBp5pRz7Om5RJ/+kz
gR6A2M8w868QFvd4bd/ZWYhKm2OIBM4vM7UC6DtKngfLuIfCw/hq3PYhHYRXS/E=
=HVke
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56056E12.6070800>