41 application or equivalent command line utility. Required sources |
41 application or equivalent command line utility. Required sources |
42 include the package specification (<file>.pmdoc) and the archives |
42 include the package specification (<file>.pmdoc) and the archives |
43 specified within the package specification. These references are |
43 specified within the package specification. These references are |
44 listed in the following manifest, and must be manually placed. |
44 listed in the following manifest, and must be manually placed. |
45 |
45 |
|
46 The defective build configuration requires changes: |
|
47 Index: crypt/osconfig.h |
|
48 --- crypt/osconfig.h.orig 2009-08-04 20:54:46.000000000 +0200 |
|
49 +++ crypt/osconfig.h 2009-08-04 20:53:28.000000000 +0200 |
|
50 @@ -231,7 +231,6 @@ |
|
51 #else |
|
52 #define L_ENDIAN |
|
53 #endif |
|
54 - #define B_ENDIAN |
|
55 #define BN_LLONG |
|
56 #define BF_PTR |
|
57 #define DES_RISC1 |
|
58 |
|
59 Building a universal binary requires changes: |
|
60 Index: crypt/osconfig.h |
|
61 --- crypt/osconfig.h.orig 2009-08-11 12:42:04.000000000 +0200 |
|
62 +++ crypt/osconfig.h 2009-08-11 12:42:47.000000000 +0200 |
|
63 @@ -553,7 +553,7 @@ |
|
64 #if !defined( _CRAY ) && !defined( L_ENDIAN ) && !defined( B_ENDIAN ) |
|
65 #error You need to add system-specific configuration settings to osconfig.h |
|
66 #endif /* Endianness not defined */ |
|
67 -#ifdef CHECK_ENDIANNESS /* One-off check in des_enc.c */ |
|
68 +#if ( defined( CHECK_ENDIANNESS ) && !defined( UNIVERSAL_BINARY ) ) /* One-off check in des_enc.c */ |
|
69 #undef _CONFIG_DEFINED |
|
70 /* Including crypt.h at this point violates the normal include order |
|
71 because we've already included config.h which normally depends on |
|
72 |
|
73 To build a fat library with IA32, X86_64, PPC, and PPC64 object code: |
|
74 make LDFLAGS='-isysroot /Developer/SDKs/MacOSX10.5.sdk' CFLAGS='-c -isysroot /Developer/SDKs/MacOSX10.5.sdk -Os -mmacosx-version-min=10.5 -arch ppc -arch ppc64 -arch i386 -arch x86_64 -DUNIVERSAL_BINARY -D__UNIX__ -DNDEBUG -I.' |
|
75 |
46 Filesystem Root (fsrt) Manifest |
76 Filesystem Root (fsrt) Manifest |
47 ------------------------------- |
77 ------------------------------- |
48 drwxr-xr-x 3 root wheel 102 Aug 4 21:16 fsrt |
78 drwxr-xr-x 3 root wheel 102 Aug 4 21:16 fsrt |
49 drwxr-xr-x 3 root wheel 102 Aug 4 21:16 fsrt/usr |
79 drwxr-xr-x 3 root wheel 102 Aug 4 21:16 fsrt/usr |
50 drwxr-xr-x 4 root wheel 136 Aug 4 21:16 fsrt/usr/local |
80 drwxr-xr-x 4 root wheel 136 Aug 4 21:16 fsrt/usr/local |