aboutsummaryrefslogtreecommitdiff
path: root/README.osx
diff options
context:
space:
mode:
authordavilla <davilla@svn>2009-11-17 00:03:06 +0000
committerdavilla <davilla@svn>2009-11-17 00:03:06 +0000
commit55fe9410c363f156babb81123247343180a013e3 (patch)
treee1118cf03d4e0c06edfb8392ab80ec0138edc6c7 /README.osx
parent80653402aa309d8632763846af7a6eee0e26af3f (diff)
[osx] update readme.osx, remove samba3 and mysql5 portfile mods, these are already present in xbmc-port-depends
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@24682 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'README.osx')
-rw-r--r--README.osx27
1 files changed, 2 insertions, 25 deletions
diff --git a/README.osx b/README.osx
index dcfafcf60d..bfa16a5bfe 100644
--- a/README.osx
+++ b/README.osx
@@ -68,12 +68,12 @@ windows:
/Library/Tcl/darwinports1.0 \
/Library/Tcl/macports1.0
-Install MacPorts 1.7 (see http://code.google.com/p/xbmc-port-depends/). No NOT
+Install MacPorts 1.7.1 (see http://code.google.com/p/xbmc-port-depends/). No NOT
install the versions from http://www.macports.org, they were hopelessly broke
for XBMC usage when their devs released MacPorts 1.8. If you are going to run
under the same OSX version as you build under, just install the required port
packages without the extra flags. No modifications of MacPorts is required.
-That means skip 1), 2), 3) and 4) below and don't add "+universal" or
+That means skip 1) and 2) below and don't add "+universal" or
"macosx_deployment_target=10.4" when installing the ports.
If you want to build a cross-compiled version that can run under
@@ -94,29 +94,6 @@ against 10.4sdk using the following instructions.
$ sudo ln -s /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/dylib1.o /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/dylib1.10.5.o
$ sudo ln -s /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/crt1.o /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/crt1.10.5.o
- 3) samba3 does not have a +universal variant so we force it to build
-libsmbclient in a compatible manner
-
- $ sudo nano /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/samba3/Portfile
-
- add the following before "configure.cflags-append "-fno-common";
-
- configure.ldflags-append "-mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk"
-
- change "--enable-cups" to "--disable-cups".
-
- 4) mysql5 thinks we are cross-compiling and appends the cross-compile name to bin/my** apps.
-
- $ sudo nano /opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/mysql5/Portfile
-
- scroll down to the post-destroot section and comment out the following
- three lines like below;
-
- # Symlink mysql binaries into bin directory, with ${major_version} appended to the name
- #foreach f [glob -tails -directory ${destroot}${bindir} my*] {
- # ln -sf ${bindir}/${f} ${destroot}${prefix}/bin/${f}${major_version}
- #}
-
Then install the following port packages (order is very important):