summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKito Danya Dietrich <kito@gentoo.org>2004-10-01 22:25:10 +0000
committerKito Danya Dietrich <kito@gentoo.org>2004-10-01 22:25:10 +0000
commit27f31f18ef1f1549fe9df0a3f54fed358f486d27 (patch)
tree42a3d50a318ff5b47e89e9cedced53fc2adbf702 /dev-libs/fftw
parentArgh. Enough! (Manifest recommit) (diff)
downloadgentoo-2-27f31f18ef1f1549fe9df0a3f54fed358f486d27.tar.gz
gentoo-2-27f31f18ef1f1549fe9df0a3f54fed358f486d27.tar.bz2
gentoo-2-27f31f18ef1f1549fe9df0a3f54fed358f486d27.zip
added ~ppc-macos keyword and patch
Diffstat (limited to 'dev-libs/fftw')
-rw-r--r--dev-libs/fftw/ChangeLog6
-rw-r--r--dev-libs/fftw/fftw-3.0.1-r1.ebuild6
-rw-r--r--dev-libs/fftw/files/fftw-ppc-macos.patch30
3 files changed, 39 insertions, 3 deletions
diff --git a/dev-libs/fftw/ChangeLog b/dev-libs/fftw/ChangeLog
index 899c4936d2cb..7872f310284e 100644
--- a/dev-libs/fftw/ChangeLog
+++ b/dev-libs/fftw/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/fftw
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/fftw/ChangeLog,v 1.27 2004/07/09 21:57:17 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/fftw/ChangeLog,v 1.28 2004/10/01 22:25:10 kito Exp $
+
+ 01 Oct 2004; kito@gentoo.org +files/fftw-ppc-macos.patch,
+ fftw-3.0.1-r1.ebuild:
+ added ~ppc-macos keyword and patch
09 Jul 2004; Michael Hanselmann <hansmi@gentoo.org> fftw-3.0.1-r1.ebuild:
Fixed a compilation-error with Altivec and gcc 3.4.1
diff --git a/dev-libs/fftw/fftw-3.0.1-r1.ebuild b/dev-libs/fftw/fftw-3.0.1-r1.ebuild
index ecc87834a3ca..32dc01baeecf 100644
--- a/dev-libs/fftw/fftw-3.0.1-r1.ebuild
+++ b/dev-libs/fftw/fftw-3.0.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/fftw/fftw-3.0.1-r1.ebuild,v 1.8 2004/07/14 14:25:56 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/fftw/fftw-3.0.1-r1.ebuild,v 1.9 2004/10/01 22:25:10 kito Exp $
IUSE="3dnow altivec mpi sse"
@@ -14,7 +14,7 @@ SLOT="3.0"
LICENSE="GPL-2"
DEPEND="virtual/libc"
-KEYWORDS="~x86 ~ppc ~sparc ~alpha ~ia64 amd64"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~ia64 amd64 ~ppc-macos"
#-fpmath=xx is reported to cause trouble on pentium4 m series
#(for 3.0.x: this sort of thing should be handled by the --enable-sse
@@ -34,10 +34,12 @@ fi
src_unpack() {
unpack "${P}.tar.gz"
cd "${WORKDIR}"
+ use ppc-macos && epatch ${FILESDIR}/${PN}-ppc-macos.patch
mv ${P} ${P}-single
unpack "${P}.tar.gz"
cd "${WORKDIR}"
+ use ppc-macos && epatch ${FILESDIR}/${PN}-ppc-macos.patch
mv ${P} ${P}-double
}
diff --git a/dev-libs/fftw/files/fftw-ppc-macos.patch b/dev-libs/fftw/files/fftw-ppc-macos.patch
new file mode 100644
index 000000000000..6bcd966234b6
--- /dev/null
+++ b/dev-libs/fftw/files/fftw-ppc-macos.patch
@@ -0,0 +1,30 @@
+diff -uNr fftw-3.0.1/tests/Makefile.in fftw-3.0.1-new/tests/Makefile.in
+--- fftw-3.0.1/tests/Makefile.in Sat Jul 5 19:29:48 2003
++++ fftw-3.0.1-new/tests/Makefile.in Fri Oct 1 16:20:40 2004
+@@ -174,9 +174,9 @@
+ @THREADS_TRUE@LIBFFTWTHREADS = $(top_builddir)/threads/libfftw3@PREC_SUFFIX@_threads.la
+
+ bench_SOURCES = bench.c hook.c
+-bench_LDADD = $(LIBFFTWTHREADS) \
++bench_LDADD = $(top_builddir)/libbench2/libbench2.a $(LIBFFTWTHREADS) \
+ $(top_builddir)/libfftw3@PREC_SUFFIX@.la \
+-$(top_builddir)/libbench2/libbench2.a $(THREADLIBS)
++$(THREADLIBS)
+
+ subdir = tests
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+diff -uNr fftw-3.0.1/tools/Makefile.in fftw-3.0.1-new/tools/Makefile.in
+--- fftw-3.0.1/tools/Makefile.in Sat Jul 5 19:29:49 2003
++++ fftw-3.0.1-new/tools/Makefile.in Fri Oct 1 16:23:49 2004
+@@ -177,9 +177,9 @@
+ @THREADS_TRUE@LIBFFTWTHREADS = $(top_builddir)/threads/libfftw3@PREC_SUFFIX@_threads.la
+
+ fftw@PREC_SUFFIX@_wisdom_SOURCES = fftw-wisdom.c
+-fftw@PREC_SUFFIX@_wisdom_LDADD = $(top_builddir)/tests/bench.o \
++fftw@PREC_SUFFIX@_wisdom_LDADD = $(top_builddir)/tests/bench.o $(top_builddir)/libbench2/libbench2.a \
+ $(LIBFFTWTHREADS) $(top_builddir)/libfftw3@PREC_SUFFIX@.la \
+-$(top_builddir)/libbench2/libbench2.a $(THREADLIBS)
++$(THREADLIBS)
+
+ subdir = tools
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs