diff options
author | Kito Danya Dietrich <kito@gentoo.org> | 2005-04-24 02:59:06 +0000 |
---|---|---|
committer | Kito Danya Dietrich <kito@gentoo.org> | 2005-04-24 02:59:06 +0000 |
commit | 47378ab2ed405f672ec1c2e636c3466262868df4 (patch) | |
tree | fc7960d72346621c69a01b7306a5367d9a39ff8a /media-libs/libsdl | |
parent | Stable on ppc. (diff) | |
download | gentoo-2-47378ab2ed405f672ec1c2e636c3466262868df4.tar.gz gentoo-2-47378ab2ed405f672ec1c2e636c3466262868df4.tar.bz2 gentoo-2-47378ab2ed405f672ec1c2e636c3466262868df4.zip |
~ppc-macos keyword, fix for libgcc_s on darwin.
(Portage version: 2.0.51.19)
Diffstat (limited to 'media-libs/libsdl')
-rw-r--r-- | media-libs/libsdl/ChangeLog | 5 | ||||
-rw-r--r-- | media-libs/libsdl/libsdl-1.2.8-r1.ebuild | 13 |
2 files changed, 15 insertions, 3 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/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 \ |