Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Mar 2018 14:01:58 -0700
From:      Craig Leres <leres@freebsd.org>
To:        freebsd-doc@freebsd.org
Subject:   Small mistake in the flavors section of the porters handbook
Message-ID:  <27026957-f43b-052e-17d2-f6f2e5c0f697@freebsd.org>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------D2E9C687E567EE82BEEC7249
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

Example 7.2 on this page has a mistake:

 
https://www.freebsd.org/doc/en/books/porters-handbook/flavors-using.html

The conditional needs to use == instead of = or else you get:

     make: "/usr/ports/devel/subversion/Makefile" line 53: warning: 
String comparison operator should be either == or !=

		Craig

--------------D2E9C687E567EE82BEEC7249
Content-Type: text/plain;
 name="patch.txt"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="patch.txt"

LS0tIGZsYXZvcnMtdXNpbmcuaHRtbC5vcmlnCTIwMTgtMDMtMTQgMTM6MjY6NTIuMTIzMTY1
MDAwIC0wNzAwCisrKyBmbGF2b3JzLXVzaW5nLmh0bWwJMjAxOC0wMy0xNCAxMzoyNjo1MC42
OTEzNjAwMDAgLTA3MDAKQEAgLTIzLDcgKzIzLDcgQEAKIEZMQVZPUj89CSR7RkxBVk9SUzpb
MV19CiBub3gxMV9QS0dOQU1FU1VGRklYPQktbm94MTEKIFsuLi5dCi0uaWYgJHtGTEFWT1J9
ID0geDExCisuaWYgJHtGTEFWT1J9ID09IHgxMQogW2VuYWJsZSB4MTEgZmVhdHVyZXNdCiAu
ZW5kaWY8L3ByZT48L2Rpdj48L2Rpdj48YnIgY2xhc3M9ImV4YW1wbGUtYnJlYWsiIC8+PGRp
diBjbGFzcz0iZXhhbXBsZSI+PGEgaWQ9ImZsYXZvcnMtdXNpbmctZXgzIj48L2E+PGRpdiBj
bGFzcz0iZXhhbXBsZS10aXRsZSI+RXhhbXBsZaA3LjMuoE1vcmUgQ29tcGxleCBGbGF2b3Jz
IFVzYWdlPC9kaXY+PGRpdiBjbGFzcz0iZXhhbXBsZS1jb250ZW50cyI+PHA+SGVyZSBpcyBh
IHNsaWdodGx5IGVkaXRlZCBleGNlcnB0IG9mIHdoYXQgaXMgcHJlc2VudCBpbgogCSAgPGEg
eG1sbnM9IiIgY2xhc3M9InBhY2thZ2UiIGhyZWY9Imh0dHBzOi8vd3d3LmZyZWVic2Qub3Jn
L2NnaS91cmwuY2dpP3BvcnRzL2RldmVsL2xpYnBlYXMvcGtnLWRlc2NyIj5kZXZlbC9saWJw
ZWFzPC9hPiwgYSBwb3J0IHRoYXQK
--------------D2E9C687E567EE82BEEC7249--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?27026957-f43b-052e-17d2-f6f2e5c0f697>