summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKito Danya Dietrich <kito@gentoo.org>2005-04-24 02:59:06 +0000
committerKito Danya Dietrich <kito@gentoo.org>2005-04-24 02:59:06 +0000
commit0ac7c6799289cdace659101f97078fd5ffb91827 (patch)
tree83b383ee3c500126d1b72e23a2f02aaec4dd8b9d /media-libs/libsdl
parentStable on ppc. (diff)
downloadhistorical-0ac7c6799289cdace659101f97078fd5ffb91827.tar.gz
historical-0ac7c6799289cdace659101f97078fd5ffb91827.tar.bz2
historical-0ac7c6799289cdace659101f97078fd5ffb91827.zip
~ppc-macos keyword, fix for libgcc_s on darwin.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'media-libs/libsdl')
-rw-r--r--media-libs/libsdl/ChangeLog5
-rw-r--r--media-libs/libsdl/Manifest24
-rw-r--r--media-libs/libsdl/libsdl-1.2.8-r1.ebuild13
3 files changed, 27 insertions, 15 deletions
diff --git a/media-libs/libsdl/ChangeLog b/media-libs/libsdl/ChangeLog
index c724d16488f3..2064ba2b2d20 100644
--- a/media-libs/libsdl/ChangeLog
+++ b/media-libs/libsdl/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-libs/libsdl
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/ChangeLog,v 1.76 2005/03/24 23:40:58 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/ChangeLog,v 1.77 2005/04/24 02:59:06 kito Exp $
+
+ 23 Apr 2005; Kito <kito@gentoo.org> libsdl-1.2.8-r1.ebuild:
+ ~ppc-macos keyword, fix for libgcc_s on darwin.
24 Mar 2005; Mike Frysinger <vapier@gentoo.org>
+files/libsdl-1.2.8-gcc2.patch.bz2, libsdl-1.2.8-r1.ebuild:
diff --git a/media-libs/libsdl/Manifest b/media-libs/libsdl/Manifest
index b53d3a8671ea..d73a7861f5a2 100644
--- a/media-libs/libsdl/Manifest
+++ b/media-libs/libsdl/Manifest
@@ -1,25 +1,25 @@
-MD5 2e6ecdfb2323b110e8029a87d1dcac06 ChangeLog 11680
+MD5 e5e2c700d71dc4cf372e56d030a5c90d ChangeLog 11791
MD5 cbbab78f5125f834ffb0f83be4957736 libsdl-1.2.6-r3.ebuild 3013
MD5 7f079469132865bdd25780277639f098 libsdl-1.2.7-r3.ebuild 3960
+MD5 9cc25213f0bc0a8d4477065aff30cd7c libsdl-1.2.8-r1.ebuild 4421
MD5 baaaa69f33ef9027dac84ee4ff02773b metadata.xml 974
-MD5 9270a7993c312f8bbba7719a7f78a8a1 libsdl-1.2.8-r1.ebuild 4216
MD5 0c2020ec3ce37ea0612064c52d1014b1 files/1.2.6-alsa-1.0.0.patch 557
-MD5 60ecfde6cc7b734ef03b93357c537674 files/1.2.8-keyrepeat.patch 598
-MD5 803844293dc7df2bb7d2323c03977b71 files/1.2.7-libcaca.patch 23266
-MD5 b66ce90b8939cef871c1c9b065fc0658 files/digest-libsdl-1.2.6-r3 62
+MD5 4f1ce33c931d461bed06277f60341085 files/1.2.6-nobuggy-X.patch 568
+MD5 71a857d2bbcc34c4807638eb5d710f2e files/1.2.7-26headers.patch 1017
MD5 206ddd08dd3e33819d03245d11af3014 files/1.2.7-gcc34.patch 8196
-MD5 419d8c241f85b4deba895c615faa5612 files/libsdl-1.2.6-fullscreen.patch 1094
MD5 e71ab5ce20cb7c70631a59f9d209cce1 files/1.2.7-joystick.patch 1317
-MD5 4f1ce33c931d461bed06277f60341085 files/1.2.6-nobuggy-X.patch 568
-MD5 4f1ce33c931d461bed06277f60341085 files/1.2.7-nobuggy-X.patch 568
-MD5 e0c6c6ffc15475282fc864b8f52f0abf files/1.2.8-linux26.patch 1268
MD5 abf0c6fe9d93e5b0cc9a4dbb6d93ad87 files/1.2.7-joystick2.patch 16196
+MD5 803844293dc7df2bb7d2323c03977b71 files/1.2.7-libcaca.patch 23266
+MD5 4f1ce33c931d461bed06277f60341085 files/1.2.7-nobuggy-X.patch 568
MD5 5d1fcf4587b0ce9cd723aa69f9ef7dba files/1.2.8-amd64-endian.patch 651
-MD5 71a857d2bbcc34c4807638eb5d710f2e files/1.2.7-26headers.patch 1017
+MD5 e6471a33cb0d62a807640ef3eccffb5f files/1.2.8-direct-8bit-color.patch 7414
MD5 323ad5b1e83521630dd4d54819c5efbd files/1.2.8-gcc2.patch 743
-MD5 2e9d99f7ab858b5a64d124abea4565b9 files/digest-libsdl-1.2.7-r3 62
+MD5 60ecfde6cc7b734ef03b93357c537674 files/1.2.8-keyrepeat.patch 598
MD5 88437c556d9b4571f08de4a4e2d9323a files/1.2.8-libcaca.patch 23278
+MD5 e0c6c6ffc15475282fc864b8f52f0abf files/1.2.8-linux26.patch 1268
MD5 4f1ce33c931d461bed06277f60341085 files/1.2.8-nobuggy-X.patch 568
+MD5 b66ce90b8939cef871c1c9b065fc0658 files/digest-libsdl-1.2.6-r3 62
+MD5 2e9d99f7ab858b5a64d124abea4565b9 files/digest-libsdl-1.2.7-r3 62
MD5 4ce5ec18eafcf0b1c6caf31c9f67cb1d files/digest-libsdl-1.2.8-r1 62
-MD5 e6471a33cb0d62a807640ef3eccffb5f files/1.2.8-direct-8bit-color.patch 7414
+MD5 419d8c241f85b4deba895c615faa5612 files/libsdl-1.2.6-fullscreen.patch 1094
MD5 358c3d6380bf0b6ba3e78ce47c5ec578 files/libsdl-1.2.8-gcc2.patch.bz2 2639
diff --git a/media-libs/libsdl/libsdl-1.2.8-r1.ebuild b/media-libs/libsdl/libsdl-1.2.8-r1.ebuild
index bf0bcc32f93e..a4ca2e8b4689 100644
--- a/media-libs/libsdl/libsdl-1.2.8-r1.ebuild
+++ b/media-libs/libsdl/libsdl-1.2.8-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/libsdl-1.2.8-r1.ebuild,v 1.6 2005/04/02 01:00:46 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/libsdl-1.2.8-r1.ebuild,v 1.7 2005/04/24 02:59:06 kito Exp $
inherit flag-o-matic toolchain-funcs eutils gnuconfig
@@ -10,7 +10,7 @@ SRC_URI="http://www.libsdl.org/release/SDL-${PV}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos"
IUSE="oss alsa esd arts nas X dga xv xinerama fbcon directfb ggi svga aalib opengl libcaca noaudio novideo nojoystick"
# if you disable audio/video/joystick and something breaks, you pick up the pieces
@@ -92,6 +92,15 @@ src_compile() {
&& directfbconf="--enable-video-directfb" \
|| ewarn "Disabling DirectFB since libdirectfb.so is broken"
fi
+
+ if use ppc-macos ; then
+ append-flags -fno-common -undefined dynamic_lookup -framework OpenGL
+ # fix for gcc-apple >3.3
+ if [ -e libgcc_s.1.dylib ] ; then
+ append-ldflags -lgcc_s
+ fi
+ fi
+
myconf="${myconf} ${directfbconf}"
econf \