* [gentoo-commits] gentoo-x86 commit in sci-geosciences/gpsd: gpsd-2.36.ebuild ChangeLog gpsd-2.37.ebuild
@ 2008-12-21 17:56 Steve Arnold (nerdboy)
0 siblings, 0 replies; only message in thread
From: Steve Arnold (nerdboy) @ 2008-12-21 17:56 UTC (permalink / raw
To: gentoo-commits
nerdboy 08/12/21 17:56:11
Modified: gpsd-2.36.ebuild ChangeLog gpsd-2.37.ebuild
Log:
Added -lm to ldflags back to latest two versions (see bug #250757).
(Portage version: 2.2_rc17/cvs/Linux 2.6.27.7 x86_64)
Revision Changes Path
1.5 sci-geosciences/gpsd/gpsd-2.36.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/gpsd-2.36.ebuild?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/gpsd-2.36.ebuild?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/gpsd-2.36.ebuild?r1=1.4&r2=1.5
Index: gpsd-2.36.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.36.ebuild,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- gpsd-2.36.ebuild 27 Jun 2008 10:31:15 -0000 1.4
+++ gpsd-2.36.ebuild 21 Dec 2008 17:56:11 -0000 1.5
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.36.ebuild,v 1.4 2008/06/27 10:31:15 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.36.ebuild,v 1.5 2008/12/21 17:56:11 nerdboy Exp $
WANT_AUTOMAKE="latest"
WANT_AUTOCONF=2.5
@@ -54,6 +54,9 @@
unpack ${A}
cd "${S}"
eautoreconf
+ sed -i -e \
+ "s:gpspacket\", extension_source)]:gpspacket\", extension_source, libraries=['m'])]:g" \
+ setup.py || die "sed failed"
}
src_compile() {
@@ -92,6 +95,9 @@
# Support for the TNT digital compass is currently broken
# $(use_enable tntc tnt)
+ # still needs an explicit linkage with the math lib (bug #250757)
+ append-ldflags -lm
+
emake || die "emake failed"
}
1.36 sci-geosciences/gpsd/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/ChangeLog?rev=1.36&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/ChangeLog?rev=1.36&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/ChangeLog?r1=1.35&r2=1.36
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/ChangeLog,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- ChangeLog 8 Sep 2008 03:46:33 -0000 1.35
+++ ChangeLog 21 Dec 2008 17:56:11 -0000 1.36
@@ -1,6 +1,11 @@
# ChangeLog for sci-geosciences/gpsd
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/ChangeLog,v 1.35 2008/09/08 03:46:33 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/ChangeLog,v 1.36 2008/12/21 17:56:11 nerdboy Exp $
+
+ 21 Dec 2008; Steve Arnold <nerdboy@gentoo.org> gpsd-2.36.ebuild,
+ gpsd-2.37.ebuild:
+ Added -lm to ldflags back to latest two versions (see bug #250757; also
+ patched the python build to add libm as required lib).
07 Sep 2008; Steve Arnold <nerdboy@gentoo.org> files/99-gpsd-usb.rules,
gpsd-2.37.ebuild:
1.4 sci-geosciences/gpsd/gpsd-2.37.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/gpsd-2.37.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/gpsd-2.37.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/gpsd-2.37.ebuild?r1=1.3&r2=1.4
Index: gpsd-2.37.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.37.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- gpsd-2.37.ebuild 8 Sep 2008 03:46:33 -0000 1.3
+++ gpsd-2.37.ebuild 21 Dec 2008 17:56:11 -0000 1.4
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.37.ebuild,v 1.3 2008/09/08 03:46:33 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.37.ebuild,v 1.4 2008/12/21 17:56:11 nerdboy Exp $
inherit eutils distutils
@@ -45,6 +45,14 @@
sys-libs/ncurses
)"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e \
+ "s:gpspacket\", extension_source)]:gpspacket\", extension_source, libraries=['m'])]:g" \
+ setup.py || die "sed failed"
+}
+
src_compile() {
local my_conf="--enable-shared --with-pic --enable-static \
@@ -81,6 +89,9 @@
# Support for the TNT digital compass is currently broken
# $(use_enable tntc tnt)
+ # still needs an explicit linkage with the math lib (bug #250757)
+ append-ldflags -lm
+
emake || die "emake failed"
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-12-21 17:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-21 17:56 [gentoo-commits] gentoo-x86 commit in sci-geosciences/gpsd: gpsd-2.36.ebuild ChangeLog gpsd-2.37.ebuild Steve Arnold (nerdboy)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox