From owner-p4-projects@FreeBSD.ORG Thu Jul 20 21:45:23 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id C395716A4DF; Thu, 20 Jul 2006 21:45:22 +0000 (UTC) X-Original-To: perforce@FreeBSD.org Delivered-To: perforce@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E4B116A4DD for ; Thu, 20 Jul 2006 21:45:22 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 592EB43D49 for ; Thu, 20 Jul 2006 21:45:22 +0000 (GMT) (envelope-from gabor@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k6KLjMwd060157 for ; Thu, 20 Jul 2006 21:45:22 GMT (envelope-from gabor@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k6KLjLaB060153 for perforce@freebsd.org; Thu, 20 Jul 2006 21:45:21 GMT (envelope-from gabor@FreeBSD.org) Date: Thu, 20 Jul 2006 21:45:21 GMT Message-Id: <200607202145.k6KLjLaB060153@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to gabor@FreeBSD.org using -f From: Gabor Kovesdan To: Perforce Change Reviews Cc: Subject: PERFORCE change 102032 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jul 2006 21:45:23 -0000 http://perforce.freebsd.org/chv.cgi?CH=102032 Change 102032 by gabor@gabor_spitfire on 2006/07/20 21:44:30 - Document TARGETDIR - s/here/there/ Affected files ... .. //depot/projects/soc2006/gabor_docs/porters-handbook/book.sgml#8 edit Differences ... ==== //depot/projects/soc2006/gabor_docs/porters-handbook/book.sgml#8 (text+ko) ==== @@ -6866,7 +6866,11 @@ definitely wrong, but you can use LOCALBASE_REL if you need a variable relative to DESTDIR. Similarly, you can use LINUXBASE_REL and - X11BASE_REL variables as well. + X11BASE_REL variables as well. + PREFIX is an absolute path. but relative + to DESTDIR. If you want to refer to the + fully qualified destination you can use TARGETDIR, + which resolves to DESTDIR/PREFIX. You have to use these variables correctly in your ports Makefile, esepecially in @@ -6880,7 +6884,7 @@ In packing lists, or in pkg-* scripts you can still use %%LOCALBASE%%, %%LINUXBASE%% and %%X11BASE%% - expansions, since they represent relative paths here. This ambiguity + expansions, since they represent relative paths there. This ambiguity can be frustrating at first, but this actually simplifies the process of writing DESTDIR-compliant ports. We did not use to have DESTDIR support by our ports infrastructure,