From owner-freebsd-doc@freebsd.org Wed Mar 14 21:02:01 2018 Return-Path: Delivered-To: freebsd-doc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D9F9BF494D1 for ; Wed, 14 Mar 2018 21:02:01 +0000 (UTC) (envelope-from leres@freebsd.org) Received: from xse.com (xse.com [IPv6:2607:f2f8:abb8::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "xse.com", Issuer "Go Daddy Secure Certificate Authority - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 659D276CC3 for ; Wed, 14 Mar 2018 21:02:01 +0000 (UTC) (envelope-from leres@freebsd.org) Received-SPF: pass (dot.xse.com: authenticated connection) receiver=dot.xse.com; client-ip=2001:558:6045:10:9084:9e0:4b6d:eb99; helo=ice.ee.lbl.gov; envelope-from=leres@freebsd.org; x-software=spfmilter 2.001 http://www.acme.com/software/spfmilter/ with libspf2-1.2.10; Received: from ice.ee.lbl.gov (ice.xse.com [IPv6:2001:558:6045:10:9084:9e0:4b6d:eb99]) (authenticated bits=0) by dot.xse.com (8.15.2/8.15.2) with ESMTPSA id w2EL1wAs033642 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 14 Mar 2018 14:01:59 -0700 (PDT) (envelope-from leres@freebsd.org) X-Authentication-Warning: dot.xse.com: Host ice.xse.com [IPv6:2001:558:6045:10:9084:9e0:4b6d:eb99] claimed to be ice.ee.lbl.gov To: freebsd-doc@freebsd.org From: Craig Leres Subject: Small mistake in the flavors section of the porters handbook Message-ID: <27026957-f43b-052e-17d2-f6f2e5c0f697@freebsd.org> Date: Wed, 14 Mar 2018 14:01:58 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------D2E9C687E567EE82BEEC7249" Content-Language: en-US X-Virus-Scanned: clamav-milter 0.99.4 at dot.xse.com X-Virus-Status: Clean X-GBUdb-Analysis: Unknown X-MessageSniffer-Rules: 0-0-0-3110-c X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Mar 2018 21:02:02 -0000 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--