diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2012-02-09 15:11:16 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2012-02-09 15:11:16 +0000 |
commit | 044f0cea44d0b75c16b765f504c79f1f6bae2539 (patch) | |
tree | 438f190be10ff62b3c2787b80b9c4e6f65fbc0b1 /gnustep-base | |
parent | Raise dev-libs/boost dep, fixes bug #402863. (diff) | |
download | gentoo-2-044f0cea44d0b75c16b765f504c79f1f6bae2539.tar.gz gentoo-2-044f0cea44d0b75c16b765f504c79f1f6bae2539.tar.bz2 gentoo-2-044f0cea44d0b75c16b765f504c79f1f6bae2539.zip |
Always set libobjc.so version to ease switching to libobjc2
(Portage version: 2.2.0_alpha85/cvs/Linux x86_64)
Diffstat (limited to 'gnustep-base')
-rw-r--r-- | gnustep-base/gnustep-make/ChangeLog | 6 | ||||
-rw-r--r-- | gnustep-base/gnustep-make/gnustep-make-2.6.2.ebuild | 11 |
2 files changed, 12 insertions, 5 deletions
diff --git a/gnustep-base/gnustep-make/ChangeLog b/gnustep-base/gnustep-make/ChangeLog index 23e4ad5aefad..6f00b92c103a 100644 --- a/gnustep-base/gnustep-make/ChangeLog +++ b/gnustep-base/gnustep-make/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for gnustep-base/gnustep-make # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/ChangeLog,v 1.103 2012/02/08 14:37:37 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/ChangeLog,v 1.104 2012/02/09 15:11:16 voyageur Exp $ + + 09 Feb 2012; Bernard Cafarelli <voyageur@gentoo.org> + gnustep-make-2.6.2.ebuild: + Always set libobjc.so version to ease switching to libobjc2 *gnustep-make-2.6.2 (08 Feb 2012) diff --git a/gnustep-base/gnustep-make/gnustep-make-2.6.2.ebuild b/gnustep-base/gnustep-make/gnustep-make-2.6.2.ebuild index 689194fdaf7f..4dc095f4d83d 100644 --- a/gnustep-base/gnustep-make/gnustep-make-2.6.2.ebuild +++ b/gnustep-base/gnustep-make/gnustep-make-2.6.2.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/gnustep-base/gnustep-make/gnustep-make-2.6.2.ebuild,v 1.1 2012/02/08 14:37:37 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/gnustep-make-2.6.2.ebuild,v 1.2 2012/02/09 15:11:16 voyageur Exp $ EAPI=4 @@ -19,8 +19,7 @@ DEPEND="${GNUSTEP_CORE_DEPEND} >=sys-devel/make-3.75 libobjc2? ( gnustep-base/libobjc2 >=sys-devel/clang-2.9 ) - !libobjc2? ( !gnustep-base/libobjc2 - >=sys-devel/gcc-3.3[objc] )" + !libobjc2? ( >=sys-devel/gcc-3.3[objc] )" RDEPEND="${DEPEND}" pkg_setup() { @@ -43,15 +42,19 @@ src_prepare() { } src_configure() { + local libobjc_version if use libobjc2; then export CC=clang + libobjc_version=4 + else + libobjc_version=2 fi #--enable-objc-nonfragile-abi: only working in clang for now - #--with-objc-lib-flag: TODO use to force libobjc2 or not econf \ --with-layout=fhs-system \ --with-config-file="${EPREFIX}"/etc/GNUstep/GNUstep.conf \ + --with-objc-lib-flag=-l:libobjc.so.${libobjc_version} \ $(use_enable libobjc2 objc-nonfragile-abi) \ $(use_enable native-exceptions native-objc-exceptions) } |