diff options
author | Robert Buchholz <rbu@gentoo.org> | 2007-04-07 19:48:27 +0000 |
---|---|---|
committer | Robert Buchholz <rbu@gentoo.org> | 2007-04-07 19:48:27 +0000 |
commit | afc57f0df26a43adf6967080de6e7b873a20f5fa (patch) | |
tree | be95d09061ecc1e604c356153d0103276f3d4943 /app-misc | |
parent | Remove ecletex because the old eclipse-sdk versions are going away. (diff) | |
download | gentoo-2-afc57f0df26a43adf6967080de6e7b873a20f5fa.tar.gz gentoo-2-afc57f0df26a43adf6967080de6e7b873a20f5fa.tar.bz2 gentoo-2-afc57f0df26a43adf6967080de6e7b873a20f5fa.zip |
Fix as-needed issue wrt bug #173271, thanks tove
(Portage version: 2.1.2.2)
Diffstat (limited to 'app-misc')
5 files changed, 71 insertions, 1 deletions
diff --git a/app-misc/glcdprocdriver/ChangeLog b/app-misc/glcdprocdriver/ChangeLog index 6c979f0aa6be..3f922d3a74c7 100644 --- a/app-misc/glcdprocdriver/ChangeLog +++ b/app-misc/glcdprocdriver/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-misc/glcdprocdriver # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/glcdprocdriver/ChangeLog,v 1.4 2007/04/07 14:16:22 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/glcdprocdriver/ChangeLog,v 1.5 2007/04/07 19:48:27 rbu Exp $ + +*glcdprocdriver-0.0.3-r2 (07 Apr 2007) + + 07 Apr 2007; Robert Buchholz <rbu@gentoo.org> + +files/glcdprocdriver-0.0.3-makefile.patch, + +glcdprocdriver-0.0.3-r2.ebuild: + Fix as-needed issue wrt bug #173271, thanks tove 07 Apr 2007; Markus Ullmann <jokey@gentoo.org> glcdprocdriver-0.0.3-r1.ebuild: diff --git a/app-misc/glcdprocdriver/files/digest-glcdprocdriver-0.0.3-r1 b/app-misc/glcdprocdriver/files/digest-glcdprocdriver-0.0.3-r1 index e35a41e1a452..b8512fdb735c 100644 --- a/app-misc/glcdprocdriver/files/digest-glcdprocdriver-0.0.3-r1 +++ b/app-misc/glcdprocdriver/files/digest-glcdprocdriver-0.0.3-r1 @@ -1,2 +1,3 @@ +MD5 67d1948efe2f9f15098eab1e261fc797 glcdprocdriver-0.0.3.tar.bz2 17565 RMD160 ef15bdda24d52f2c097968f4ef3a3bea78a87cc5 glcdprocdriver-0.0.3.tar.bz2 17565 SHA256 89c99051e5c3a0724c5ea212079e0571066888c74ebd3fda6befd65f8bec03e6 glcdprocdriver-0.0.3.tar.bz2 17565 diff --git a/app-misc/glcdprocdriver/files/digest-glcdprocdriver-0.0.3-r2 b/app-misc/glcdprocdriver/files/digest-glcdprocdriver-0.0.3-r2 new file mode 100644 index 000000000000..b8512fdb735c --- /dev/null +++ b/app-misc/glcdprocdriver/files/digest-glcdprocdriver-0.0.3-r2 @@ -0,0 +1,3 @@ +MD5 67d1948efe2f9f15098eab1e261fc797 glcdprocdriver-0.0.3.tar.bz2 17565 +RMD160 ef15bdda24d52f2c097968f4ef3a3bea78a87cc5 glcdprocdriver-0.0.3.tar.bz2 17565 +SHA256 89c99051e5c3a0724c5ea212079e0571066888c74ebd3fda6befd65f8bec03e6 glcdprocdriver-0.0.3.tar.bz2 17565 diff --git a/app-misc/glcdprocdriver/files/glcdprocdriver-0.0.3-makefile.patch b/app-misc/glcdprocdriver/files/glcdprocdriver-0.0.3-makefile.patch new file mode 100644 index 000000000000..c47eec9a12d9 --- /dev/null +++ b/app-misc/glcdprocdriver/files/glcdprocdriver-0.0.3-makefile.patch @@ -0,0 +1,21 @@ +--- ./Makefile 2006-10-05 08:37:03.000000000 +0000 ++++ ./Makefile 2007-04-07 19:06:00.000000000 +0000 +@@ -11,6 +11,8 @@ + PACKAGE = $(ARCHIVE) + TMPDIR = /tmp + ++LIBS=-lglcddrivers -lglcdgraphics ++ + + LIBNAME = libglcdprocdriver.so + SONAME = $(LIBNAME).1 +@@ -24,6 +26,9 @@ + + all: $(LIBNAME) + ++$(OBJS): %.o: %.c ++ $(CXX) -c -fPIC $(CXXFLAGS) $< -o $@ ++ + $(LIBNAME): $(OBJS) + $(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIBS) -Wl,-soname="$(SONAME)" -o $@ + diff --git a/app-misc/glcdprocdriver/glcdprocdriver-0.0.3-r2.ebuild b/app-misc/glcdprocdriver/glcdprocdriver-0.0.3-r2.ebuild new file mode 100644 index 000000000000..74edade1a67e --- /dev/null +++ b/app-misc/glcdprocdriver/glcdprocdriver-0.0.3-r2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/glcdprocdriver/glcdprocdriver-0.0.3-r2.ebuild,v 1.1 2007/04/07 19:48:27 rbu Exp $ + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="Glue library for the glcdlib LCDproc driver based on GraphLCD" +HOMEPAGE="http://www.muresan.de/graphlcd/lcdproc" +SRC_URI="http://www.muresan.de/graphlcd/lcdproc/${P}.tar.bz2" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2" + +S=${WORKDIR}/${P} + +DEPEND=">=app-misc/graphlcd-base-0.1.3" +RDEPEND=${DEPEND} + +IUSE="" + +src_unpack() +{ + unpack ${A} + cd "${S}" + + # use CFLAGS defined in /etc/make.conf instead of the ones in Make.config + sed -i ${S}/Make.config -e "s:FLAGS *=:FLAGS ?=:" + sed -i ${S}/Make.config -e "6s:gcc:$(tc-getCC):" + sed -i ${S}/Make.config -e "9s:g++:$(tc-getCXX):" + epatch "${FILESDIR}/${P}-makefile.patch" +} + +src_install() +{ + emake DESTDIR=${D}/usr LIBDIR=${D}/usr/$(get_libdir) install || die "make install failed" + dodoc AUTHORS README INSTALL TODO ChangeLog +} |