* [gentoo-commits] gentoo-x86 commit in sci-libs/neartree: ChangeLog neartree-2.3.2.ebuild neartree-3.1.1.ebuild
@ 2011-12-15 21:39 Justin Lecher (jlec)
0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2011-12-15 21:39 UTC (permalink / raw
To: gentoo-commits
jlec 11/12/15 21:39:19
Modified: ChangeLog neartree-2.3.2.ebuild
neartree-3.1.1.ebuild
Log:
Handle static libs, as requested by ago, #393999
(Portage version: 2.2.0_alpha81/cvs/Linux x86_64)
Revision Changes Path
1.16 sci-libs/neartree/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/neartree/ChangeLog?rev=1.16&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/neartree/ChangeLog?rev=1.16&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/neartree/ChangeLog?r1=1.15&r2=1.16
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-libs/neartree/ChangeLog,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- ChangeLog 15 Dec 2011 21:18:17 -0000 1.15
+++ ChangeLog 15 Dec 2011 21:39:19 -0000 1.16
@@ -1,6 +1,10 @@
# ChangeLog for sci-libs/neartree
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/neartree/ChangeLog,v 1.15 2011/12/15 21:18:17 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/neartree/ChangeLog,v 1.16 2011/12/15 21:39:19 jlec Exp $
+
+ 15 Dec 2011; Justin Lecher <jlec@gentoo.org> neartree-2.3.2.ebuild,
+ neartree-3.1.1.ebuild:
+ Handle static libs, as requested by ago, #393999
15 Dec 2011; Agostino Sarubbo <ago@gentoo.org> neartree-2.3.2.ebuild:
Stable for AMD64, wrt bug #393999
1.5 sci-libs/neartree/neartree-2.3.2.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/neartree/neartree-2.3.2.ebuild?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/neartree/neartree-2.3.2.ebuild?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/neartree/neartree-2.3.2.ebuild?r1=1.4&r2=1.5
Index: neartree-2.3.2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-libs/neartree/neartree-2.3.2.ebuild,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- neartree-2.3.2.ebuild 15 Dec 2011 21:18:17 -0000 1.4
+++ neartree-2.3.2.ebuild 15 Dec 2011 21:39:19 -0000 1.5
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/neartree/neartree-2.3.2.ebuild,v 1.4 2011/12/15 21:18:17 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/neartree/neartree-2.3.2.ebuild,v 1.5 2011/12/15 21:39:19 jlec Exp $
EAPI=4
@@ -16,7 +16,7 @@
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
-IUSE=""
+IUSE="static-libs"
RDEPEND="dev-libs/cvector"
DEPEND="${RDEPEND}"
@@ -48,6 +48,10 @@
CXX=$(tc-getCXX) \
DESTDIR="${D}" install
+ if ! use static-libs; then
+ rm "${ED}"/usr/$(get_libdir)/*.{a,la} || die
+ fi
+
dodoc README_NearTree.txt
dohtml *.html
}
1.2 sci-libs/neartree/neartree-3.1.1.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/neartree/neartree-3.1.1.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/neartree/neartree-3.1.1.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/neartree/neartree-3.1.1.ebuild?r1=1.1&r2=1.2
Index: neartree-3.1.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-libs/neartree/neartree-3.1.1.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- neartree-3.1.1.ebuild 14 Dec 2011 09:20:30 -0000 1.1
+++ neartree-3.1.1.ebuild 15 Dec 2011 21:39:19 -0000 1.2
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/neartree/neartree-3.1.1.ebuild,v 1.1 2011/12/14 09:20:30 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/neartree/neartree-3.1.1.ebuild,v 1.2 2011/12/15 21:39:19 jlec Exp $
EAPI=4
@@ -16,19 +16,21 @@
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
-IUSE=""
+IUSE="static-libs"
RDEPEND="dev-libs/cvector"
DEPEND="${RDEPEND}"
S="${WORKDIR}"/${MY_P}
-src_prepare() {
- epatch \
- "${FILESDIR}"/${PV}-test.patch \
- "${FILESDIR}"/${PV}-gentoo.patch \
- "${FILESDIR}"/${PV}-notest.patch
+PATCHES=(
+ "${FILESDIR}"/${PV}-test.patch
+ "${FILESDIR}"/${PV}-gentoo.patch
+ "${FILESDIR}"/${PV}-notest.patch
+ )
+src_prepare() {
+ base_src_prepare
sed \
-e "s:GENTOOLIBDIR:$(get_libdir):g" \
-e "s:/usr:${EPREFIX}/usr:g" \
@@ -44,6 +46,10 @@
src_install() {
default
+ if ! use static-libs; then
+ rm "${ED}"/usr/$(get_libdir)/*.{a,la} || die
+ fi
+
dodoc README_NearTree.txt
dohtml *.html
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-12-15 21:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-15 21:39 [gentoo-commits] gentoo-x86 commit in sci-libs/neartree: ChangeLog neartree-2.3.2.ebuild neartree-3.1.1.ebuild Justin Lecher (jlec)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox