From owner-freebsd-doc@FreeBSD.ORG Sat Jul 14 22:20:06 2012 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 983C81065670 for ; Sat, 14 Jul 2012 22:20:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6AC548FC16 for ; Sat, 14 Jul 2012 22:20:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q6EMK6In069318 for ; Sat, 14 Jul 2012 22:20:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q6EMK6NY069317; Sat, 14 Jul 2012 22:20:06 GMT (envelope-from gnats) Resent-Date: Sat, 14 Jul 2012 22:20:06 GMT Resent-Message-Id: <201207142220.q6EMK6NY069317@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Olli Hauer Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0E007106564A for ; Sat, 14 Jul 2012 22:19:45 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E2A418FC12 for ; Sat, 14 Jul 2012 22:19:44 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q6EMJiXx069251 for ; Sat, 14 Jul 2012 22:19:44 GMT (envelope-from ohauer@freefall.freebsd.org) Received: (from ohauer@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q6EMJiro069250; Sat, 14 Jul 2012 22:19:44 GMT (envelope-from ohauer) Message-Id: <201207142219.q6EMJiro069250@freefall.freebsd.org> Date: Sat, 14 Jul 2012 22:19:44 GMT From: Olli Hauer To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: docs/169864: [patch] porters-handbook various small changes X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Olli Hauer List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jul 2012 22:20:06 -0000 >Number: 169864 >Category: docs >Synopsis: [patch] porters-handbook various small changes >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jul 14 22:20:06 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Olli Hauer >Release: FreeBSD 8.3-RELEASE-p3 amd64 >Organization: >Environment: >Description: I just recognized an mistake which slipped in by my PR docs/169708. - remove third column from USE_APACHE and fix link to wiki. - add missing Additional the patch includes the following changes. - remove major lib version numbers from the examples, portlint will already complain about them (removing the major number from portstree where it is possible is already in progress) [1] - add PgSQL 92 to the mix [2] - Additional example for MASTER_SITE_SUBDIR which is widely in use meanwhile for the SF site [1] http://www.freebsd.org/cgi/cvsweb.cgi/ports/ports-mgmt/portlint/src/portlint.pl.diff?r1=1.126;r2=1.127 PR ports/165851 [2] http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.database.mk.diff?r1=1.73;r2=1.74 PS: I have not renderd the book with the changes please do a test build before commit. >How-To-Repeat: Watch http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/using-php.html >Fix: --- en_porters-handbook.diff begins here --- Index: en_US.ISO8859-1/books/porters-handbook/book.sgml =================================================================== --- en_US.ISO8859-1/books/porters-handbook/book.sgml (revision 39204) +++ en_US.ISO8859-1/books/porters-handbook/book.sgml (working copy) @@ -2447,6 +2447,10 @@ MASTER_SITES= SF/stardict/WyabdcRealPeopleTTS/${PORTVERSION} + This can be also written as + MASTER_SITES= SF +MASTER_SITE_SUBDIR= stardict/WyabdcRealPeopleTTS/${PORTVERSION} + Popular Magic <makevar>MASTER_SITES</makevar> Macros @@ -3448,7 +3452,7 @@ and target is the target to call in that directory. For example, - LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg + LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpegwill check for a shared jpeg library with major version 9, and descend into the @@ -3466,7 +3470,7 @@ are allowed. The first pattern, intl.[5-7], will match any of: intl.5, intl.6 or - intl.7. The second pattern, + intl.7. The second (preferred) pattern, intl, will match any version of the intl library. @@ -3499,11 +3503,11 @@ For example, - RUN_DEPENDS= ${LOCALBASE}/etc/innd:${PORTSDIR}/news/inn \ + RUN_DEPENDS= ${LOCALBASE}/bin/innd:${PORTSDIR}/news/inn \ xmlcatmgr:${PORTSDIR}/textproc/xmlcatmgr will check if the file or directory - /usr/local/etc/innd exists, and build + /usr/local/bin/innd exists, and build and install it from the news/inn subdirectory of the ports tree if it is not found. It will also see if an executable called @@ -4458,7 +4462,7 @@ Wrong Handling of an Option .if ${PORT_OPTIONS:MFOO} -LIB_DEPENDS+= foo.0:${PORTSDIR}/devel/foo +LIB_DEPENDS+= foo:${PORTSDIR}/devel/foo CONFIGURE_ARGS+= --enable-foo .endif @@ -4477,7 +4481,7 @@ Correct Handling of an Option .if ${PORT_OPTIONS:MFOO} -LIB_DEPENDS+= foo.0:${PORTSDIR}/devel/foo +LIB_DEPENDS+= foo:${PORTSDIR}/devel/foo CONFIGURE_ARGS+= --enable-foo .else CONFIGURE_ARGS+= --disable-foo @@ -6990,11 +6994,11 @@ 20, 22, 20-22, 20+, etc. The default APACHE version is - 22. - More details are available in + 22. More details are available in ports/Mk/bsd.apache.mk and at . + url="http://wiki.freebsd.org/Apache/"> + wiki.freebsd.org/Apache/. @@ -7022,7 +7026,7 @@ available after inclusion of bsd.port.pre.mk. Possible values: 20, - 22. + 22. @@ -9046,7 +9050,7 @@ role="package">databases/postgresql90-client port. An associated variable, WANT_PGSQL_VER, may be set to - values such as 83, 84, 90, or 91. You can declare a + values such as 83, 84, 90, 91 or 92. You can declare a minimum or maximum value; WANT_PGSQL_VER= 90+ will cause the @@ -16235,7 +16239,7 @@ [dependencies -- can be empty] RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript -LIB_DEPENDS= Xpm.5:${PORTSDIR}/graphics/xpm +LIB_DEPENDS= Xpm:${PORTSDIR}/graphics/xpm [this section is for other standard bsd.port.mk variables that do not belong to any of the above] --- en_porters-handbook.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: