From 68e95a1265a8ea4c5bb5aea93146748a9a3cffe9 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Sun, 20 Apr 2008 18:27:02 +0000 Subject: fix building test (Portage version: 2.1.5_rc5) --- media-libs/libjackasyn/ChangeLog | 8 ++++++-- media-libs/libjackasyn/files/libjackasyn-0.13-tests.patch | 13 +++++++++++++ media-libs/libjackasyn/libjackasyn-0.13.ebuild | 10 ++++++---- 3 files changed, 25 insertions(+), 6 deletions(-) create mode 100644 media-libs/libjackasyn/files/libjackasyn-0.13-tests.patch (limited to 'media-libs/libjackasyn') diff --git a/media-libs/libjackasyn/ChangeLog b/media-libs/libjackasyn/ChangeLog index c95405e01760..4f9b975c844e 100644 --- a/media-libs/libjackasyn/ChangeLog +++ b/media-libs/libjackasyn/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/libjackasyn -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libjackasyn/ChangeLog,v 1.15 2007/07/02 15:55:06 flameeyes Exp $ +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libjackasyn/ChangeLog,v 1.16 2008/04/20 18:27:02 aballier Exp $ + + 20 Apr 2008; Alexis Ballier + +files/libjackasyn-0.13-tests.patch, libjackasyn-0.13.ebuild: + fix building test 02 Jul 2007; Diego Pettenò metadata.xml: Hand to newly-born proaudio herd. diff --git a/media-libs/libjackasyn/files/libjackasyn-0.13-tests.patch b/media-libs/libjackasyn/files/libjackasyn-0.13-tests.patch new file mode 100644 index 000000000000..8d48b1f47d7e --- /dev/null +++ b/media-libs/libjackasyn/files/libjackasyn-0.13-tests.patch @@ -0,0 +1,13 @@ +Index: libjackasyn-0.13/Makefile.in +=================================================================== +--- libjackasyn-0.13.orig/Makefile.in ++++ libjackasyn-0.13/Makefile.in +@@ -45,7 +45,7 @@ install: + install -m 755 jacklaunch $(DESTDIR)/$(prefix)/bin + + test: +- $(CC) -o test test.c libjackasyn.a -ljack -ldl -lm ++ $(CC) $(LDFLAGS) $(CFLAGS) -o test test.c libjackasyn.a $(LIBS) + + clean: + -rm *~ $(OBJ_FILES) diff --git a/media-libs/libjackasyn/libjackasyn-0.13.ebuild b/media-libs/libjackasyn/libjackasyn-0.13.ebuild index a685a5dcd68c..80e6f5223e85 100644 --- a/media-libs/libjackasyn/libjackasyn-0.13.ebuild +++ b/media-libs/libjackasyn/libjackasyn-0.13.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libjackasyn/libjackasyn-0.13.ebuild,v 1.3 2007/07/12 03:10:24 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libjackasyn/libjackasyn-0.13.ebuild,v 1.4 2008/04/20 18:27:02 aballier Exp $ inherit eutils toolchain-funcs @@ -19,18 +19,20 @@ DEPEND="media-sound/jack-audio-connection-kit src_unpack() { unpack ${A} - cd ${S} + cd "${S}" epatch "${FILESDIR}/${P}-qa.patch" epatch "${FILESDIR}/${P}-pic.patch" epatch "${FILESDIR}/${P}-libdir.patch" epatch "${FILESDIR}/${P}-execprefix.patch" + epatch "${FILESDIR}/${P}-tests.patch" } src_compile() { + tc-export CC local myconf use debug && myconf="--enable-debug" econf ${myconf} || die - emake CC=$(tc-getCC) CFLAGS="${CFLAGS}" || die + emake || die "emake failed" } src_install() { -- cgit v1.2.3-65-gdbad