diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2012-08-03 08:25:47 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2012-08-03 08:25:47 +0000 |
commit | ee6e4d373d85a22aca20de29bc4926d66795c313 (patch) | |
tree | d9377fe24533da199d1bbd36095dadad9591f1fd /sci-libs/shapelib | |
parent | Stable on amd64 wrt bug #418903 (diff) | |
download | gentoo-2-ee6e4d373d85a22aca20de29bc4926d66795c313.tar.gz gentoo-2-ee6e4d373d85a22aca20de29bc4926d66795c313.tar.bz2 gentoo-2-ee6e4d373d85a22aca20de29bc4926d66795c313.zip |
Respect CC, install shptest only if built. Thanks to rei4dan for the report
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/shapelib')
-rw-r--r-- | sci-libs/shapelib/ChangeLog | 5 | ||||
-rw-r--r-- | sci-libs/shapelib/shapelib-1.3.0-r1.ebuild | 9 |
2 files changed, 11 insertions, 3 deletions
diff --git a/sci-libs/shapelib/ChangeLog b/sci-libs/shapelib/ChangeLog index 58cd1c507fd3..5188d917da23 100644 --- a/sci-libs/shapelib/ChangeLog +++ b/sci-libs/shapelib/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-libs/shapelib # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/shapelib/ChangeLog,v 1.16 2012/08/02 23:24:26 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/shapelib/ChangeLog,v 1.17 2012/08/03 08:25:47 xarthisius Exp $ + + 03 Aug 2012; Kacper Kowalik <xarthisius@gentoo.org> shapelib-1.3.0-r1.ebuild: + Respect CC, install shptest only if built. Thanks to rei4dan for the report *shapelib-1.3.0-r1 (02 Aug 2012) diff --git a/sci-libs/shapelib/shapelib-1.3.0-r1.ebuild b/sci-libs/shapelib/shapelib-1.3.0-r1.ebuild index 636678f87610..f5d18a25bc8b 100644 --- a/sci-libs/shapelib/shapelib-1.3.0-r1.ebuild +++ b/sci-libs/shapelib/shapelib-1.3.0-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/shapelib/shapelib-1.3.0-r1.ebuild,v 1.1 2012/08/02 23:24:26 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/shapelib/shapelib-1.3.0-r1.ebuild,v 1.2 2012/08/03 08:25:47 xarthisius Exp $ EAPI=4 inherit eutils toolchain-funcs multilib versionator @@ -40,6 +40,10 @@ static_to_shared() { fi } +pkg_setup() { + tc-export CC +} + src_prepare() { epatch "${FILESDIR}"/${P}-respect-user.patch } @@ -56,7 +60,8 @@ src_test() { } src_install() { - dobin shp{create,dump,test,add} dbf{create,dump,add} + dobin shp{create,dump,add} dbf{create,dump,add} + use test && dobin shptest dolib.so lib*$(get_libname)* dodoc ChangeLog README* use static-libs && dolib.a lib*.a |