Subject: pkg/31398: darwin specific doc mentions --pkgsrcdir, which is deprecated
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Antoine Reilles <tonio@arcelot.loria.fr>
List: pkgsrc-bugs
Date: 09/26/2005 17:56:00
>Number:         31398
>Category:       pkg
>Synopsis:       darwin specific doc mentions --pkgsrcdir, which is deprecated
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 26 17:56:00 +0000 2005
>Originator:     Antoine Reilles
>Release:        NetBSD 3.99.8
>Organization:
	
>Environment:
	
	
System: NetBSD arcelot.loria.fr 3.99.8 NetBSD 3.99.8 (ARCELOT) #0: Wed Sep 14 22:10:30 CEST 2005 root@arcelot.loria.fr:/usr/obj/sys/arch/i386/compile/ARCELOT i386
Architecture: i386
Machine: i386
>Description:
In platforms.xml, the example bootstrap command contains --pkgsrcdir=..., which
causes the command to fail, --pkgsrcdir being deprecated, bootstrap now uses
`pwd`
>How-To-Repeat:
	When trying to bootstrap pkgsrc under darwin, following the doc
>Fix:
Removing the --pkgsrcdir should not affect other parts of the documentation,
but i may be wrong

Index: platforms.xml
===================================================================
RCS file: /cvsroot/pkgsrc/doc/guide/files/platforms.xml,v
retrieving revision 1.13
diff -u -r1.13 platforms.xml
--- platforms.xml	2 Sep 2005 19:12:37 -0000	1.13
+++ platforms.xml	8 Sep 2005 11:45:07 -0000
@@ -129,7 +129,7 @@
 	  place the package database directory outside the
 	  <emphasis>prefix</emphasis>. e.g.</para>
 
-	<screen>&rprompt; <userinput>./bootstrap --pkgdbdir /usr/pkg/pkgdb --pkgsrcdir /Volumes/ufs/pkgsrc</userinput></screen>
+	<screen>&rprompt; <userinput>./bootstrap --pkgdbdir /usr/pkg/pkgdb</userinput></screen>
 
 	<para>If you created your partitions at the time of installing Mac OS X
 	  and formatted the target partition as UFS, it should automatically

>Unformatted: