From 03e49ffa8b82e253bbe45495fd8c8e101b62772c Mon Sep 17 00:00:00 2001 From: Steve Arnold Date: Sun, 3 Jan 2010 05:27:01 +0000 Subject: Updated patch and converted to EAPI2 (closes bug 296648). (Portage version: 2.2_rc61/cvs/Linux x86_64) --- dev-libs/liblist/ChangeLog | 8 ++++++-- dev-libs/liblist/files/liblist-2.1-sharedlib.patch | 2 +- dev-libs/liblist/liblist-2.1-r1.ebuild | 12 ++++++------ 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/dev-libs/liblist/ChangeLog b/dev-libs/liblist/ChangeLog index 151855287622..651d42ac56c0 100644 --- a/dev-libs/liblist/ChangeLog +++ b/dev-libs/liblist/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-libs/liblist -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/liblist/ChangeLog,v 1.2 2009/12/05 22:32:30 nerdboy Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/liblist/ChangeLog,v 1.3 2010/01/03 05:27:01 nerdboy Exp $ + + 03 Jan 2010; Steve Arnold liblist-2.1-r1.ebuild, + files/liblist-2.1-sharedlib.patch: + Updated patch and converted to EAPI2. *liblist-2.1-r1 (05 Dec 2009) diff --git a/dev-libs/liblist/files/liblist-2.1-sharedlib.patch b/dev-libs/liblist/files/liblist-2.1-sharedlib.patch index a8d72158d96e..49dec2c93ae1 100644 --- a/dev-libs/liblist/files/liblist-2.1-sharedlib.patch +++ b/dev-libs/liblist/files/liblist-2.1-sharedlib.patch @@ -7,7 +7,7 @@ +CC = cc +LD = cc MANDIR = /usr/share/man - LIBDIR = /usr/lib64 + LIBDIR = /usr/lib INCDIR = /usr/include #add macro for ranlib 4/96 *kob* - ranlib doesn't exist on solaris diff --git a/dev-libs/liblist/liblist-2.1-r1.ebuild b/dev-libs/liblist/liblist-2.1-r1.ebuild index f01c322d8b73..9259bcc54e45 100644 --- a/dev-libs/liblist/liblist-2.1-r1.ebuild +++ b/dev-libs/liblist/liblist-2.1-r1.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/liblist/liblist-2.1-r1.ebuild,v 1.1 2009/12/05 22:32:30 nerdboy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/liblist/liblist-2.1-r1.ebuild,v 1.2 2010/01/03 05:27:01 nerdboy Exp $ + +EAPI="2" inherit eutils toolchain-funcs @@ -13,12 +15,10 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" IUSE="doc examples" -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { + epatch "${FILESDIR}"/${P}-sharedlib.patch sed -i -e "s:/usr/lib:/usr/$(get_libdir):g" Makefile \ examples/cache/Makefile || die "sed 1 failed" - epatch "${FILESDIR}"/${P}-sharedlib.patch } src_compile() { -- cgit v1.2.3-65-gdbad