summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2006-05-27 08:11:27 +0000
committerDenis Dupeyron <calchan@gentoo.org>2006-05-27 08:11:27 +0000
commit13924dc2fc8f6cc0de0a02e4d8461b162791b94d (patch)
treed06ac155517cbe8bf5ec87d3610b1e70b800b295 /dev-embedded/gpsim
parentAdd support for qt4. (diff)
downloadgentoo-2-13924dc2fc8f6cc0de0a02e4d8461b162791b94d.tar.gz
gentoo-2-13924dc2fc8f6cc0de0a02e4d8461b162791b94d.tar.bz2
gentoo-2-13924dc2fc8f6cc0de0a02e4d8461b162791b94d.zip
Fixed bug #128813 and cleaned up a bit.
(Portage version: 2.0.54-r2)
Diffstat (limited to 'dev-embedded/gpsim')
-rw-r--r--dev-embedded/gpsim/ChangeLog5
-rw-r--r--dev-embedded/gpsim/gpsim-0.21.11.ebuild27
2 files changed, 15 insertions, 17 deletions
diff --git a/dev-embedded/gpsim/ChangeLog b/dev-embedded/gpsim/ChangeLog
index fcdc12f42f45..f2aaa8686212 100644
--- a/dev-embedded/gpsim/ChangeLog
+++ b/dev-embedded/gpsim/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-embedded/gpsim
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gpsim/ChangeLog,v 1.20 2006/04/15 22:57:04 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gpsim/ChangeLog,v 1.21 2006/05/27 08:11:27 calchan Exp $
+
+ 27 May 2006; Denis Dupeyron <calchan@gentoo.org> gpsim-0.21.11.ebuild:
+ Fixed bug #128813 and cleaned up a bit.
15 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
+files/gpsim-0.21.11-asneeded.patch, gpsim-0.21.11.ebuild:
diff --git a/dev-embedded/gpsim/gpsim-0.21.11.ebuild b/dev-embedded/gpsim/gpsim-0.21.11.ebuild
index 43fa9f78fb71..ef20583abb7f 100644
--- a/dev-embedded/gpsim/gpsim-0.21.11.ebuild
+++ b/dev-embedded/gpsim/gpsim-0.21.11.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gpsim/gpsim-0.21.11.ebuild,v 1.4 2006/04/15 22:57:04 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gpsim/gpsim-0.21.11.ebuild,v 1.5 2006/05/27 08:11:27 calchan Exp $
inherit gnuconfig eutils libtool autotools
@@ -24,22 +24,17 @@ RDEPEND="${DEPEND}
src_unpack() {
unpack ${A}
- sed -i.orig \
- -e '864s,&& defined HAVE_GUI,,g' \
- -e '774s,#ifdef HAVE_GUI,,g' \
- -e '793s,#endif,,g' \
- ${S}/cli/input.cc
- #for i in ${S}/gpsim/Makefile.{in,am} ; do
- # sed -i.orig -e '/^gpsim_LDFLAGS/s,$, -lpthread,g' $i
- #done
- for i in ${S}/cli/Makefile.{in,am} ; do
- sed -i.orig -e '/^libgpsimcli_la_LDFLAGS/s,$, -lpthread,g' $i
- done
- for i in ${S}/src/Makefile.{in,am} ; do
- sed -i.orig -e '/^libgpsim_la_LDFLAGS/s,$, -lpthread,g' $i
- done
+ cd ${S}
+
+ sed -i \
+ -e '864s,&& defined HAVE_GUI,,g' \
+ -e '774s,#ifdef HAVE_GUI,,g' \
+ -e '793s,#endif,,g' \
+ cli/input.cc
+ sed -i -e '/^gpsim_LDFLAGS/s,$, -lpthread -ldl,g' gpsim/Makefile.am
+ sed -i -e '/^libgpsimcli_la_LDFLAGS/s,$, -lpthread,g' cli/Makefile.am
+ sed -i -e '/^libgpsim_la_LDFLAGS/s,$, -lpthread,g' src/Makefile.am
- cd "${S}"
epatch "${FILESDIR}/${P}-gcc41.patch"
epatch "${FILESDIR}/${P}-asneeded.patch"