From owner-freebsd-doc@FreeBSD.ORG Mon Mar 28 17:30:03 2005 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 630A816A4CF for ; Mon, 28 Mar 2005 17:30:03 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D14C443D4C for ; Mon, 28 Mar 2005 17:30:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j2SHU2QP015289 for ; Mon, 28 Mar 2005 17:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j2SHU2rS015288; Mon, 28 Mar 2005 17:30:02 GMT (envelope-from gnats) Resent-Date: Mon, 28 Mar 2005 17:30:02 GMT Resent-Message-Id: <200503281730.j2SHU2rS015288@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, Marian Cerny Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B02716A4CE for ; Mon, 28 Mar 2005 17:21:28 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F32643D5F for ; Mon, 28 Mar 2005 17:21:28 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j2SHLRS5055398 for ; Mon, 28 Mar 2005 17:21:27 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j2SHLRAe055397; Mon, 28 Mar 2005 17:21:27 GMT (envelope-from nobody) Message-Id: <200503281721.j2SHLRAe055397@www.freebsd.org> Date: Mon, 28 Mar 2005 17:21:27 GMT From: Marian Cerny To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: docs/79309: Mistake in Porter's Handbook, Chapter 14.3 PREFIX X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 17:30:03 -0000 >Number: 79309 >Category: docs >Synopsis: Mistake in Porter's Handbook, Chapter 14.3 PREFIX >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 28 17:30:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Marian Cerny >Release: 5.4-PRERELEASE >Organization: >Environment: FreeBSD potvorka 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #0: Fri Mar 18 20:17:16 CET 2005 majo@potvorka:/usr/obj/usr/src/sys/GENERIC i386 >Description: There is a mistake in Porter's Handbook, Chapter 14.3 PREFIX. This paragraph: Also, refer to programs/files from other ports with the variables mentioned above, not explicit pathnames. For instance, if your port requires a macro PAGER to be the full pathname of less, use the compiler flag: -DPAGER=\"${PREFIX}/bin/less\" or -DPAGER=\"${LOCALBASE}/bin/less\" if this is an X port, instead of -DPAGER=\"/usr/local/bin/less\". Should IMHO be: Also, refer to programs/files from other ports with the variables mentioned above, not explicit pathnames. For instance, if your port requires a macro PAGER to be the full pathname of less, use the compiler flag: -DPAGER=\"${LOCALBASE}/bin/less\" or -DPAGER=\"${X11BASE}/bin/less\" if this is an X port, instead of -DPAGER=\"/usr/local/bin/less\". (Notice the change PREFIX => LOCALBASE and LOCALBASE => X11BASE.) But I might be wrong. >How-To-Repeat: Look at the section 14.3 of the Porter's Handbook. >Fix: Change ${PREFIX} to ${LOCALBASE} and ${LOCALBASE} to ${X11BASE}. >Release-Note: >Audit-Trail: >Unformatted: