summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-15 22:57:04 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-15 22:57:04 +0000
commit445074667e4520b6f1f31ccc7d0d3bae6f3eb839 (patch)
tree249fb828f261532cf6be3622c170fa1a3df2616d /dev-embedded/gpsim/gpsim-0.21.11.ebuild
parentVersion bump. (diff)
downloadhistorical-445074667e4520b6f1f31ccc7d0d3bae6f3eb839.tar.gz
historical-445074667e4520b6f1f31ccc7d0d3bae6f3eb839.tar.bz2
historical-445074667e4520b6f1f31ccc7d0d3bae6f3eb839.zip
Add patch to build with --as-needed (link libgpsimcli with libreadline).
Package-Manager: portage-2.1_pre7-r5
Diffstat (limited to 'dev-embedded/gpsim/gpsim-0.21.11.ebuild')
-rw-r--r--dev-embedded/gpsim/gpsim-0.21.11.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/dev-embedded/gpsim/gpsim-0.21.11.ebuild b/dev-embedded/gpsim/gpsim-0.21.11.ebuild
index ae8f9c7e95bd..43fa9f78fb71 100644
--- a/dev-embedded/gpsim/gpsim-0.21.11.ebuild
+++ b/dev-embedded/gpsim/gpsim-0.21.11.ebuild
@@ -1,8 +1,8 @@
# 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.3 2006/03/25 21:21:54 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gpsim/gpsim-0.21.11.ebuild,v 1.4 2006/04/15 22:57:04 flameeyes Exp $
-inherit gnuconfig eutils
+inherit gnuconfig eutils libtool autotools
DESCRIPTION="A simulator for the Microchip PIC microcontrollers"
HOMEPAGE="http://www.dattalo.com/gnupic/gpsim.html"
@@ -39,7 +39,13 @@ src_unpack() {
sed -i.orig -e '/^libgpsim_la_LDFLAGS/s,$, -lpthread,g' $i
done
+ cd "${S}"
+
epatch "${FILESDIR}/${P}-gcc41.patch"
+ epatch "${FILESDIR}/${P}-asneeded.patch"
+
+ eautomake
+ elibtoolize
}
src_compile() {