summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-10-26 15:33:35 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-10-26 15:33:35 +0000
commit18230c40a4e985e24f03d78de507cb571b5fd9cd (patch)
tree47057f4fe225a0b559ac9002ad2b32f9650abb6f
parentevo 2.8 needs glib 2.10 or better (diff)
downloadgentoo-2-18230c40a4e985e24f03d78de507cb571b5fd9cd.tar.gz
gentoo-2-18230c40a4e985e24f03d78de507cb571b5fd9cd.tar.bz2
gentoo-2-18230c40a4e985e24f03d78de507cb571b5fd9cd.zip
Added patch from Roy Marples <uberlord@gentoo.org> to fix freealut compiling on Gentoo/FreeBSD and closing bug #151224.
(Portage version: 2.1.2_pre3-r8)
-rw-r--r--media-libs/freealut/ChangeLog6
-rw-r--r--media-libs/freealut/freealut-1.1.0.ebuild13
2 files changed, 16 insertions, 3 deletions
diff --git a/media-libs/freealut/ChangeLog b/media-libs/freealut/ChangeLog
index 716d6d41e382..0506cc97de96 100644
--- a/media-libs/freealut/ChangeLog
+++ b/media-libs/freealut/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/freealut
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/freealut/ChangeLog,v 1.12 2006/08/02 20:20:01 tcort Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/freealut/ChangeLog,v 1.13 2006/10/26 15:33:35 wolf31o2 Exp $
+
+ 26 Oct 2006; Chris Gianelloni <wolf31o2@gentoo.org> freealut-1.1.0.ebuild:
+ Added patch from Roy Marples <uberlord@gentoo.org> to fix freealut compiling
+ on Gentoo/FreeBSD and closing bug #151224.
02 Aug 2006; Thomas Cort <tcort@gentoo.org> freealut-1.0.1.ebuild:
Stable on alpha wrt Bug #133501.
diff --git a/media-libs/freealut/freealut-1.1.0.ebuild b/media-libs/freealut/freealut-1.1.0.ebuild
index 2d7f2b582ec4..e78926f6c1ef 100644
--- a/media-libs/freealut/freealut-1.1.0.ebuild
+++ b/media-libs/freealut/freealut-1.1.0.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/freealut/freealut-1.1.0.ebuild,v 1.1 2006/07/05 16:31:05 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/freealut/freealut-1.1.0.ebuild,v 1.2 2006/10/26 15:33:35 wolf31o2 Exp $
-inherit eutils gnuconfig
+inherit autotools eutils gnuconfig
DESCRIPTION="The OpenAL Utility Toolkit"
SRC_URI="http://www.openal.org/openal_webstf/downloads/${P}.tar.gz"
@@ -16,6 +16,15 @@ IUSE=""
RDEPEND="~media-libs/openal-0.0.8
!~media-libs/openal-20050504"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Link against openal and pthread
+ sed -i -e 's/libalut_la_LIBADD = .*/& -lopenal -lpthread/' src/Makefile.am
+ AT_M4DIR="${S}/admin/autotools/m4" eautoreconf
+}
+
src_compile() {
econf \
--libdir=/usr/$(get_libdir) || die