Sat Mar 5 12:36:39 2011 UTC ()
Note that i386 mode is the default, and point to tron@'s 2009 tech-pkg
post that explained the issues clearly.

Caution that 10.4 support is on even thinner ice with 10.7 due out.


(gdt)
diff -r1.9 -r1.10 pkgsrc/bootstrap/README.MacOSX

cvs diff -r1.9 -r1.10 pkgsrc/bootstrap/Attic/README.MacOSX (expand / switch to unified diff)

--- pkgsrc/bootstrap/Attic/README.MacOSX 2010/10/31 21:24:14 1.9
+++ pkgsrc/bootstrap/Attic/README.MacOSX 2011/03/05 12:36:39 1.10
@@ -1,25 +1,27 @@ @@ -1,25 +1,27 @@
1$NetBSD: README.MacOSX,v 1.9 2010/10/31 21:24:14 gdt Exp $ 1$NetBSD: README.MacOSX,v 1.10 2011/03/05 12:36:39 gdt Exp $
2 2
3 3
4Mac OS X Snow Leopard Binary ABI problem: 4Mac OS X Snow Leopard 32/64 (i386/x86_64) ABI issue:
5 5
6Mac OS X Snow Leopard supports 64-Bit binaries on most Intel Macs 6Mac OS X Snow Leopard (10.6) supports 64-bit binaries on most Intel
7and builds those by default on such machine. This causes problems 7Macs and builds those by default on such machine. This causes
8with a lot of packages which get confused because "MACHINE_ARCH" 8problems with a lot of packages which get confused because
9is set to "i386" (on a 64-bit system!). There are also packages 9"MACHINE_ARCH" is set to "i386" (on a 64-bit system!). There are also
10that don't support 64-bit under Mac OS X at all. It is therefore 10packages that don't support 64-bit under Mac OS X at all. Because of
11recommended that use the "--abi 32" option of "bootstrap" 11this, the default for pkgsrc is use use the 32-bit ABI, which results
12under Mac OS X Snow Leopard at the moment. 12in packages being compiled and run in i386 mode. For a longer
 13discussion, see:
 14http://mail-index.netbsd.org/pkgsrc-users/2009/09/24/msg010817.html
13 15
14 16
15Developer tools: 17Developer tools:
16 18
17If you haven't already, you will need to install the Mac OS X Developer 19If you haven't already, you will need to install the Mac OS X Developer
18Tools package. Depending on the version of OS X you are running, you 20Tools package. Depending on the version of OS X you are running, you
19may have this on CD. If not, you can download it from Apple's 21may have this on CD. If not, you can download it from Apple's
20Developer Connection. (You will need to register for a free ADC 22Developer Connection. (You will need to register for a free ADC
21account.) See http://developer.apple.com/macosx/ for details. 23account.) See http://developer.apple.com/macosx/ for details.
22 24
23Note for MacOS X 1.4 (Tiger) you will need to download xcode 2.5 25Note for MacOS X 1.4 (Tiger) you will need to download xcode 2.5
24if you intend to use gcc 4. gcc 4.0.0 bundled with xcode 2.0 on 26if you intend to use gcc 4. gcc 4.0.0 bundled with xcode 2.0 on
25the desktop installation dvds builds broken pkg_install tools. 27the desktop installation dvds builds broken pkg_install tools.
@@ -48,27 +50,26 @@ libtool = /usr/bin/libtool @@ -48,27 +50,26 @@ libtool = /usr/bin/libtool
48then run: 50then run:
49 51
50/opt/ibmcmp/vacpp/6.0/bin/vacpp_configure -gcc /usr -install -force 52/opt/ibmcmp/vacpp/6.0/bin/vacpp_configure -gcc /usr -install -force
51 53
52as root to install the configuration. 54as root to install the configuration.
53 55
54to bootstrap with xlc, you need to make sure CFLAGS contains "-ma": 56to bootstrap with xlc, you need to make sure CFLAGS contains "-ma":
55 57
56env CC=/opt/ibmcmp/vacpp/6.0/bin/xlc CFLAGS=-ma ./bootstrap 58env CC=/opt/ibmcmp/vacpp/6.0/bin/xlc CFLAGS=-ma ./bootstrap
57 59
58 60
59Mac OS X Versions 61Mac OS X Versions
60 62
61 
62pkgsrc is a volunteer project, and individuals support/fix packages 63pkgsrc is a volunteer project, and individuals support/fix packages
63and platforms as they choose. However, pkgsrc contributors as a group 64and platforms as they choose. However, pkgsrc contributors as a group
64share both a bugtracker and norms about what is ok to break and what 65share both a bugtracker and norms about what is ok to break and what
65is not. To describe these norms, we define levels of concern, keeping 66is not. To describe these norms, we define levels of concern, keeping
66in mind that there are no guarantees: 67in mind that there are no guarantees:
67 68
68 SUPPORTED doesn't mean that anyone is required to fix your problem; it 69 SUPPORTED doesn't mean that anyone is required to fix your problem; it
69 means that we agree that it is broadly desireable that such problems 70 means that we agree that it is broadly desireable that such problems
70 be fixed and that we therefore allow them to be listed in our issue 71 be fixed and that we therefore allow them to be listed in our issue
71 tracker. 72 tracker.
72 73
73 DEPRECATED means that individual problems are not of interest, but 74 DEPRECATED means that individual problems are not of interest, but
74 pkgsrc overall working is of enough interest to be allowed to be 75 pkgsrc overall working is of enough interest to be allowed to be
@@ -86,13 +87,16 @@ Mac OS X as follows: @@ -86,13 +87,16 @@ Mac OS X as follows:
86 10.5: old, but PRs may still be filed. Structurally breaking pkgsrc on 87 10.5: old, but PRs may still be filed. Structurally breaking pkgsrc on
87 10.5 is considered not ok. [SUPPORTED] 88 10.5 is considered not ok. [SUPPORTED]
88 89
89 10.4: very old, and individual pkg PRs may be bounced to authors to 90 10.4: very old, and individual pkg PRs may be bounced to authors to
90 retest with newer versions, and closed if that doesn't happen 91 retest with newer versions, and closed if that doesn't happen
91 in 14 days. We will for now consider structurally breaking 92 in 14 days. We will for now consider structurally breaking
92 pkgsrc on 10.4 to be undesirable. If keeping support for 10.4 93 pkgsrc on 10.4 to be undesirable. If keeping support for 10.4
93 causes excessive work for maintainers it may be moved to 94 causes excessive work for maintainers it may be moved to
94 IGNORED state any time, without warning. [DEPRECATED] 95 IGNORED state any time, without warning. [DEPRECATED]
95 96
96 10.3 and below: ancient, and PRs will be summarily closed. It is 97 10.3 and below: ancient, and PRs will be summarily closed. It is
97 acceptable to give zero consideration to causing structural 98 acceptable to give zero consideration to causing structural
98 problems on 10.3 and below. [IGNORED] 99 problems on 10.3 and below. [IGNORED]
 100
 101(Note that with the impending release of 10.7, it is likely that 10.4
 102will be moved to IGNORED.)