From owner-svn-doc-all@freebsd.org Thu Feb 21 05:53:30 2019 Return-Path: Delivered-To: svn-doc-all@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 239DE14F5F46; Thu, 21 Feb 2019 05:53:30 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BB4B58EC08; Thu, 21 Feb 2019 05:53:29 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A718119494; Thu, 21 Feb 2019 05:53:29 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x1L5rToK086658; Thu, 21 Feb 2019 05:53:29 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x1L5rTAV086657; Thu, 21 Feb 2019 05:53:29 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201902210553.x1L5rTAV086657@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Thu, 21 Feb 2019 05:53:29 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r52825 - head/en_US.ISO8859-1/books/porters-handbook/porting-dads X-SVN-Group: doc-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: head/en_US.ISO8859-1/books/porters-handbook/porting-dads X-SVN-Commit-Revision: 52825 X-SVN-Commit-Repository: doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: BB4B58EC08 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.957,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-0.999,0] X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Feb 2019 05:53:30 -0000 Author: linimon Date: Thu Feb 21 05:53:29 2019 New Revision: 52825 URL: https://svnweb.freebsd.org/changeset/doc/52825 Log: Currently the only ARCH documentation is placed before the IGNORE variables are introduced. This patch swaps the order of those two sections and pushes "Marking a Port as Architecture Neutral" down one level. By itself this patch seems trivial; however, it needs to be done to prepare for expanding the section with non-trivial material. Approved by: mat Differential Revision: https://reviews.freebsd.org/D19233 Modified: head/en_US.ISO8859-1/books/porters-handbook/porting-dads/chapter.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/porting-dads/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/porting-dads/chapter.xml Mon Feb 18 03:30:09 2019 (r52824) +++ head/en_US.ISO8859-1/books/porters-handbook/porting-dads/chapter.xml Thu Feb 21 05:53:29 2019 (r52825) @@ -370,14 +370,6 @@ cc -o someprogram source1.o source2.o -L/usr/local/lib - - Marking a Port as Architecture Neutral - - Ports that do not have any architecture-dependent files - or requirements are identified by setting - NO_ARCH=yes. - - Marking a Port Not Installable with <varname>BROKEN</varname>, <varname>FORBIDDEN</varname>, or @@ -501,7 +493,45 @@ cc -o someprogram source1.o source2.o -L/usr/local/lib <varname>IGNORE</varname> by itself.</para> </note> </listitem> + </itemizedlist> + </sect2> + <sect2 xml:id="dads-noinstall-notes"> + <title>Implementation Notes + + Do not quote the values of BROKEN, + IGNORE, and related variables. Due to the + way the information is shown to the user, the wording of + messages for each variable differ: + + BROKEN= fails to link with base -lcrypto + + IGNORE= unsupported on recent versions + + resulting in this output from + make describe: + + ===> foobar-0.1 is marked as broken: fails to link with base -lcrypto. + + ===> foobar-0.1 is unsupported on recent versions. + + + + + Architectural Considerations + + + Marking a Port as Architecture Neutral + + Ports that do not have any architecture-dependent files + or requirements are identified by setting + NO_ARCH=yes. + + + + Marking a Port as Ignored Only On Certain Architectures + + To mark a port as IGNOREd only on certain architectures, there are two other @@ -522,7 +552,12 @@ cc -o someprogram source1.o source2.o -L/usr/local/lib and NOT_FOR_ARCHS_REASON_ARCH. + + + + + If a port fetches i386 binaries and installs them, set IA32_BINARY_PORT. If this variable @@ -533,26 +568,6 @@ cc -o someprogram source1.o source2.o -L/usr/local/lib will be set automatically. - - - - Implementation Notes - - Do not quote the values of BROKEN, - IGNORE, and related variables. Due to the - way the information is shown to the user, the wording of - messages for each variable differ: - - BROKEN= fails to link with base -lcrypto - - IGNORE= unsupported on recent versions - - resulting in this output from - make describe: - - ===> foobar-0.1 is marked as broken: fails to link with base -lcrypto. - - ===> foobar-0.1 is unsupported on recent versions.