From dc1847996633ea9194a36b797e49f693c9f5fc72 Mon Sep 17 00:00:00 2001 From: grant Date: Thu, 11 Mar 2004 13:03:58 +0000 Subject: import the required bits of bootstrap-pkgsrc from 20040311. --- bootstrap/README.Darwin | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 bootstrap/README.Darwin (limited to 'bootstrap/README.Darwin') diff --git a/bootstrap/README.Darwin b/bootstrap/README.Darwin new file mode 100644 index 00000000000..1aeb9b32975 --- /dev/null +++ b/bootstrap/README.Darwin @@ -0,0 +1,33 @@ +$NetBSD: README.Darwin,v 1.1.1.1 2004/03/11 13:03:58 grant Exp $ + +If you are using Mac OS X: +Before you start, you will need to download and install the Mac OS X Developer +Tools from Apple's Developer Connection. See http://developer.apple.com/macosx/ +for details. Also, make sure you install X11 for Mac OS X and the X11 SDK from +http://www.apple.com/macosx/x11/download/ if you intend to build packages +that use the X11 Window System. + +Terse instructions: + +$ ./ufsdiskimage create ~/Documents/NetBSD 512 # megabytes - season to taste +$ ./ufsdiskimage mount ~/Documents/NetBSD +$ sudo chown `id -u`:`id -g` /Volumes/NetBSD +$ curl -O \ + ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/tar_files/pkgsrc.tar.gz +$ tar -C /Volumes/NetBSD -zxvf pkgsrc.tar.gz && rm pkgsrc.tar.gz +$ sudo ./bootstrap \ + --prefix=/Volumes/NetBSD/pkg \ + --pkgdbdir=/Volumes/NetBSD/pkgdb \ + --pkgsrcdir=/Volumes/NetBSD/pkgsrc + +Note: if you already have a UFS partition, or have a spare partition[*] +that you can format as UFS, use that instead of the UFS disk image. +It'll be somewhat faster and will mount automatically at boot time. + +(Why can't you just use the HFS+ filesystem you've already got? +Because pkgsrc currently requires the underlying filesystem to be +case-sensitive, and HFS+ isn't.) + +[*] - If the partition you want to convert to UFS from HFS+ under +Mac OS X is on the boot disk, then the disk tools won't do anything +with it. See "README.MacOSX". -- cgit v1.2.3