diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2015-05-20 11:27:42 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2015-05-20 11:27:42 +0000 |
commit | e369cc24b273654e8d7611b8a2a78ae0e129f005 (patch) | |
tree | be4c8cdca7c2ccebf929a561727768d4e33db554 /gnustep-base/libobjc2/libobjc2-1.7-r1.ebuild | |
parent | version bump; rm old; rm sed call as upstream fixed setup.py (diff) | |
download | historical-e369cc24b273654e8d7611b8a2a78ae0e129f005.tar.gz historical-e369cc24b273654e8d7611b8a2a78ae0e129f005.tar.bz2 historical-e369cc24b273654e8d7611b8a2a78ae0e129f005.zip |
Fix SONAME, thanks adr in bug #465668
Package-Manager: portage-2.2.20/cvs/Linux x86_64
Manifest-Sign-Key: 0x00F7AB331B0F097F
Diffstat (limited to 'gnustep-base/libobjc2/libobjc2-1.7-r1.ebuild')
-rw-r--r-- | gnustep-base/libobjc2/libobjc2-1.7-r1.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/gnustep-base/libobjc2/libobjc2-1.7-r1.ebuild b/gnustep-base/libobjc2/libobjc2-1.7-r1.ebuild new file mode 100644 index 000000000000..c801403197f2 --- /dev/null +++ b/gnustep-base/libobjc2/libobjc2-1.7-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnustep-base/libobjc2/libobjc2-1.7-r1.ebuild,v 1.1 2015/05/20 11:27:34 voyageur Exp $ + +EAPI=5 +inherit cmake-utils eutils + +DESCRIPTION="GNUstep Objective-C runtime" +HOMEPAGE="http://www.gnustep.org" +SRC_URI="http://download.gna.org/gnustep/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="boehm-gc cxx test" + +RDEPEND="boehm-gc? ( dev-libs/boehm-gc ) + cxx? ( sys-libs/libcxx )" +DEPEND="${DEPEND} + >=sys-devel/clang-2.9" + +src_prepare() { + epatch "${FILESDIR}"/${P}-fix_soname.patch + + if ! use cxx; + then + sed -e 's/addtest_flags(CXXExceptions.*//' \ + -i Test/CMakeLists.txt || die "test sed failed" + fi +} + +src_configure() { + export CC=clang + export CXX=clang++ + + export PREFIX=/usr + local mycmakeargs=( + -DGNUSTEP_CONFIG=GNUSTEP_CONFIG-NOTFOUND + $(cmake-utils_use boehm-gc BOEHM_GC) + $(cmake-utils_use_enable cxx OBJCXX) + $(cmake-utils_use test TESTS) + ) + cmake-utils_src_configure +} |