summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2008-01-29 21:38:26 +0000
committerFabian Groffen <grobian@gentoo.org>2008-01-29 21:38:26 +0000
commit756cc19a1fd2b3c9a3582a3b8d8a0bdcb309ecde (patch)
tree75842dc168b5185199803aa50bef13df9806c099 /media-libs/portaudio
parentarm/s390/sh stable (diff)
downloadgentoo-2-756cc19a1fd2b3c9a3582a3b8d8a0bdcb309ecde.tar.gz
gentoo-2-756cc19a1fd2b3c9a3582a3b8d8a0bdcb309ecde.tar.bz2
gentoo-2-756cc19a1fd2b3c9a3582a3b8d8a0bdcb309ecde.zip
Remove ppc-macos conditionals, remove unused macos patch
(Portage version: 2.1.3.19)
Diffstat (limited to 'media-libs/portaudio')
-rw-r--r--media-libs/portaudio/files/portaudio-Makefile.macos34
-rw-r--r--media-libs/portaudio/portaudio-18.1.ebuild10
2 files changed, 2 insertions, 42 deletions
diff --git a/media-libs/portaudio/files/portaudio-Makefile.macos b/media-libs/portaudio/files/portaudio-Makefile.macos
deleted file mode 100644
index 1b3fdf0bff3e..000000000000
--- a/media-libs/portaudio/files/portaudio-Makefile.macos
+++ /dev/null
@@ -1,34 +0,0 @@
-LIBS = -lm
-
-CDEFINES = -I../pa_common
-CFLAGS =
-LIBINST = /usr/lib
-
-TESTS:= $(wildcard pa_tests/pa*.c pa_tests/debug*.c)
-TESTO:= $(wildcard pa_tests/pa*.o pa_tests/debug*.o)
-
-LIBFILES:= ./pa_common/pa_lib.c ./pa_common/pa_convert.c ./pa_mac_core/pa_mac_core.c
-
-all: sharedlib libinstall testo testq
-
-.c.o:
- -gcc -c -I./pa_common $< -o $*.o
-
-.o:
- -gcc $*.o -o $* -Lpa_mac_core $(LIBS) -lportaudio
-
-sharedlib: $(LIBFILES:.c=.o)
- gcc -framework CoreAudio -framework AudioToolbox -framework AudioUnit -dynamiclib -o ./pa_mac_core/libportaudio.dylib -install_name /usr/lib/libportaudio.dylib ./pa_common/pa_lib.o ./pa_common/pa_convert.o ./pa_mac_core/pa_mac_core.o
-
-libinstall: ./pa_mac_core/libportaudio.dylib
- @cp -f ./pa_mac_core/libportaudio.dylib $(LIBINST)
-
-testo: $(TESTS:.c=.o)
-
-testq: $(TESTO:.o=)
-
-clean:
- -@rm -f $(TESTS:.c=.o)
- -@rm -f $(TESTS:.c=)
- -@rm -f $(LIBFILES:.c=.o)
- -@rm -f ./pa_mac_core/libportaudio.dylib
diff --git a/media-libs/portaudio/portaudio-18.1.ebuild b/media-libs/portaudio/portaudio-18.1.ebuild
index a600f8de8bf5..66eb6f39adbe 100644
--- a/media-libs/portaudio/portaudio-18.1.ebuild
+++ b/media-libs/portaudio/portaudio-18.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/portaudio/portaudio-18.1.ebuild,v 1.17 2007/02/28 22:15:41 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/portaudio/portaudio-18.1.ebuild,v 1.18 2008/01/29 21:38:25 grobian Exp $
inherit eutils
@@ -23,7 +23,6 @@ src_unpack() {
cd ${S}
epatch ${FILESDIR}/${P}-use-fpic.patch
- use ppc-macos && cp ${FILESDIR}/${PN}-Makefile.macos ${S}/Makefile || \
cp ${S}/Makefile.linux ${S}/Makefile
}
@@ -33,12 +32,7 @@ src_compile() {
}
src_install() {
- if ! use ppc-macos
- then
- dolib pa_unix_oss/libportaudio.so
- else
- dolib pa_mac_core/libportaudio.dylib
- fi
+ dolib pa_unix_oss/libportaudio.so
insinto /usr/include
doins pa_common/portaudio.h