PERFORCE change 102032 for review

Gabor Kovesdan gabor at FreeBSD.org
Thu Jul 20 21:45:23 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=102032

Change 102032 by gabor at 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 <makevar>LOCALBASE_REL</makevar> if
 	  you need a variable relative to <makevar>DESTDIR</makevar>.
 	  Similarly, you can use <makevar>LINUXBASE_REL</makevar> and
-	  <makevar>X11BASE_REL</makevar> variables as well.</para>
+	  <makevar>X11BASE_REL</makevar> variables as well.
+	  <makevar>PREFIX</makevar> is an absolute path. but relative
+	  to <makewar>DESTDIR</makevar>.  If you want to refer to the
+	  fully qualified destination you can use <makevar>TARGETDIR</makevar>,
+	  which resolves to <makevar>DESTDIR</makevar>/<makevar>PREFIX</makevar>.</para>
 
 	<para>You have to use these variables correctly
 	  in your ports <filename>Makefile</filename>, esepecially in
@@ -6880,7 +6884,7 @@
 	<para>In packing lists, or in <filename>pkg-*</filename> scripts you
 	  can still use <literal>%%LOCALBASE%%</literal>,
 	  <literal>%%LINUXBASE%%</literal> and <literal>%%X11BASE%%</literal>
-	  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 <makevar>DESTDIR</makevar>-compliant ports.  We did not use to
 	  have <makevar>DESTDIR</makevar> support by our ports infrastructure,


More information about the p4-projects mailing list