diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2012-05-05 16:51:29 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2012-05-05 16:51:29 +0000 |
commit | c5bcfa8eece3e60a9c46c49dea776c1db62f8553 (patch) | |
tree | 7562afbfb261ae8b1e70a96f8ddd8c0f7e68a915 /dev-lang/jimtcl/jimtcl-9999.ebuild | |
parent | alpha/ia64/ppc64/sparc stable (bug #404641) (diff) | |
download | gentoo-2-c5bcfa8eece3e60a9c46c49dea776c1db62f8553.tar.gz gentoo-2-c5bcfa8eece3e60a9c46c49dea776c1db62f8553.tar.bz2 gentoo-2-c5bcfa8eece3e60a9c46c49dea776c1db62f8553.zip |
Fix build with static-libs thanks to Peter Stuge <peter@stuge.se>. Bug #411413
(Portage version: 2.1.10.57/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/jimtcl/jimtcl-9999.ebuild')
-rw-r--r-- | dev-lang/jimtcl/jimtcl-9999.ebuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/dev-lang/jimtcl/jimtcl-9999.ebuild b/dev-lang/jimtcl/jimtcl-9999.ebuild index 17acb7ab1c63..38a82fba29fb 100644 --- a/dev-lang/jimtcl/jimtcl-9999.ebuild +++ b/dev-lang/jimtcl/jimtcl-9999.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/jimtcl/jimtcl-9999.ebuild,v 1.4 2011/12/30 09:54:46 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/jimtcl/jimtcl-9999.ebuild,v 1.5 2012/05/05 16:51:29 hwoarang Exp $ EAPI="2" @@ -26,7 +26,11 @@ src_compile() { src_install() { dobin jimsh || die "dobin failed" - dolib.so libjim.so || die "dolib failed" + use static-libs && { + dolib.a libjim.a || die "dolib failed" + } || { + dolib.so libjim.so || die "dolib failed" + } insinto /usr/include doins jim.h jimautoconf.h jim-subcmd.h jim-nvp.h jim-signal.h doins jim-win32compat.h jim-eventloop.h jim-config.h |