summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Martin <slarti@gentoo.org>2004-07-06 18:36:25 +0000
committerTom Martin <slarti@gentoo.org>2004-07-06 18:36:25 +0000
commit1cf99d709d7a247476193e7bb577fd146d9f65f3 (patch)
tree26a336b80c2023a87fbee485eca13a719e6c5796 /media-plugins/caps-plugins
parentAdded slotmove 21 to 21.3 in order to make sure already slotmoved system to t... (diff)
downloadgentoo-2-1cf99d709d7a247476193e7bb577fd146d9f65f3.tar.gz
gentoo-2-1cf99d709d7a247476193e7bb577fd146d9f65f3.tar.bz2
gentoo-2-1cf99d709d7a247476193e7bb577fd146d9f65f3.zip
Fixed -fPIC, sanitised some CFLAGS in the Makefile, added to ~amd64, changed insinto -> dolib.so in the ebuild.
Diffstat (limited to 'media-plugins/caps-plugins')
-rw-r--r--media-plugins/caps-plugins/ChangeLog8
-rw-r--r--media-plugins/caps-plugins/caps-plugins-0.1.10.ebuild18
-rw-r--r--media-plugins/caps-plugins/files/caps-plugins-0.1.10-fpic.patch11
3 files changed, 30 insertions, 7 deletions
diff --git a/media-plugins/caps-plugins/ChangeLog b/media-plugins/caps-plugins/ChangeLog
index c7cbdaf7b476..69a7ec7cd2fe 100644
--- a/media-plugins/caps-plugins/ChangeLog
+++ b/media-plugins/caps-plugins/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-plugins/caps-plugins
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/caps-plugins/ChangeLog,v 1.5 2004/06/24 23:27:13 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/caps-plugins/ChangeLog,v 1.6 2004/07/06 18:36:25 slarti Exp $
+
+ 06 Jul 2004; Tom Martin <slarti@gentoo.org> caps-plugins-0.1.10.ebuild,
+ +files/caps-plugins-0.1.10-fpic.patch:
+ Added ~amd64 keyword and fixed Makefile to use fPIC, closing bug 51670, thanks
+ to Stefan Briesenick <sbriesen@gmx.de> for reporting. Edited ebuild to use
+ dolib.so rather than insinto. Weird CFLAGS also filtered out from Makefile.
20 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org>
caps-plugins-0.1.10.ebuild, caps-plugins-0.1.5.ebuild:
diff --git a/media-plugins/caps-plugins/caps-plugins-0.1.10.ebuild b/media-plugins/caps-plugins/caps-plugins-0.1.10.ebuild
index 67d1aeac455d..cb6621e74dc4 100644
--- a/media-plugins/caps-plugins/caps-plugins-0.1.10.ebuild
+++ b/media-plugins/caps-plugins/caps-plugins-0.1.10.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/caps-plugins/caps-plugins-0.1.10.ebuild,v 1.4 2004/06/24 23:27:13 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/caps-plugins/caps-plugins-0.1.10.ebuild,v 1.5 2004/07/06 18:36:25 slarti Exp $
+
+inherit eutils
IUSE=""
#
@@ -11,19 +13,23 @@ HOMEPAGE="http://quitte.de/dsp/caps.html"
SRC_URI="http://quitte.de/dsp/caps_${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86"
+KEYWORDS="x86 ~amd64"
DEPEND="media-libs/ladspa-sdk"
S=${WORKDIR}/${MY_P}
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/caps-plugins-0.1.10-fpic.patch || die
+}
+
src_compile() {
- make || die
+ emake CFLAGS="${CFLAGS}" || die
}
src_install() {
dodoc AUTHORS COPYING README
- insinto /usr/lib/ladspa
- insopts -m0755
- doins *.so
+ dolib.so *.so
}
diff --git a/media-plugins/caps-plugins/files/caps-plugins-0.1.10-fpic.patch b/media-plugins/caps-plugins/files/caps-plugins-0.1.10-fpic.patch
new file mode 100644
index 000000000000..458ca26f8927
--- /dev/null
+++ b/media-plugins/caps-plugins/files/caps-plugins-0.1.10-fpic.patch
@@ -0,0 +1,11 @@
+--- Makefile 2004-07-06 19:06:46.606228168 +0100
++++ /home/slarti/Makefile.new 2004-07-06 19:07:42.008805696 +0100
+@@ -38,7 +38,7 @@
+ $(CC) $(CFLAGS) -S $<
+
+ .cc.o:
+- $(CC) $(CFLAGS) -I/usr/local/include -c $<
++ $(CC) $(CFLAGS) -fPIC -c $<
+
+ tags: $(SOURCES) $(HEADERS)
+ @echo making tags