public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-libs/cbflib: ChangeLog cbflib-0.8.1-r5.ebuild
@ 2010-02-06 19:35 Justin Lecher (jlec)
  0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2010-02-06 19:35 UTC (permalink / raw
  To: gentoo-commits

jlec        10/02/06 19:35:11

  Modified:             ChangeLog
  Added:                cbflib-0.8.1-r5.ebuild
  Log:
  Fix for parallel and as-needed build issues
  (Portage version: 2.2_rc62/cvs/Linux x86_64)

Revision  Changes    Path
1.4                  sci-libs/cbflib/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cbflib/ChangeLog?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cbflib/ChangeLog?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cbflib/ChangeLog?r1=1.3&r2=1.4

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-libs/cbflib/ChangeLog,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ChangeLog	6 Feb 2010 13:45:11 -0000	1.3
+++ ChangeLog	6 Feb 2010 19:35:10 -0000	1.4
@@ -1,6 +1,13 @@
 # ChangeLog for sci-libs/cbflib
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/cbflib/ChangeLog,v 1.3 2010/02/06 13:45:11 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cbflib/ChangeLog,v 1.4 2010/02/06 19:35:10 jlec Exp $
+
+*cbflib-0.8.1-r5 (06 Feb 2010)
+
+  06 Feb 2010; Justin Lecher (jlec) <jlec@gentoo.org>
+  +files/0.8.1-as-needed.patch, +cbflib-0.8.1-r5.ebuild,
+  +files/0.8.1-parallel.patch:
+  Fix for parallel and as-needed issues
 
   06 Feb 2010; Justin Lecher (jlec) <jlec@gentoo.org>
   cbflib-0.8.1-r4.ebuild:



1.1                  sci-libs/cbflib/cbflib-0.8.1-r5.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cbflib/cbflib-0.8.1-r5.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cbflib/cbflib-0.8.1-r5.ebuild?rev=1.1&content-type=text/plain

Index: cbflib-0.8.1-r5.ebuild
===================================================================
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-libs/cbflib/cbflib-0.8.1-r5.ebuild,v 1.1 2010/02/06 19:35:10 jlec Exp $

EAPI="3"

inherit eutils flag-o-matic toolchain-funcs

MY_P1="CBFlib-${PV}"
MY_P2="CBFlib_${PV}"

DESCRIPTION="Library providing a simple mechanism for accessing CBF files and imgCIF files."
HOMEPAGE="http://www.bernstein-plus-sons.com/software/CBF/"
#BASE_TEST_URI="http://arcib.dowling.edu/software/CBFlib/downloads/version_${PV}/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P1}.tar.gz"
#	 test? (
#		${BASE_TEST_URI}/${MY_P2}_Data_Files_Input.tar.gz
#		${BASE_TEST_URI}/${MY_P2}_Data_Files_Output.tar.gz
#	)"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

#RDEPEND=""
#DEPEND="test? ( sys-process/time )"

S="${WORKDIR}/${MY_P1}"

src_prepare(){
	cp Makefile_LINUX_gcc42 Makefile

	epatch "${FILESDIR}"/${PV}-Makefile.patch
	epatch "${FILESDIR}"/${PV}-parallel.patch
	epatch "${FILESDIR}"/${PV}-as-needed.patch

	append-fflags -fno-range-check
	append-cflags -D_USE_XOPEN_EXTENDED

	sed \
		-e "s:^CC.*$:CC = $(tc-getCC):" \
		-e "s:^C++.*$:C++ = $(tc-getCXX):" \
		-e "s:C++:CXX:g" \
		-e "s:^CFLAGS.*$:CFLAGS = ${CFLAGS}:" \
		-e "s:^F90C.*$:F90C = $(tc-getFC):" \
		-e "s:^F90FLAGS.*$:F90FLAGS = ${FFLAGS}:" \
		-e "s:^SOLDFLAGS.*$:SOLDFLAGS = -shared ${LDFLAGS}:g" \
		-e "s: /bin: ${EPREFIX}/bin:g" \
		-e "s:/usr:${EPREFIX}/usr:g" \
		-i Makefile || die
}

src_compile() {
	emake shared || die
}

# test app is borked in this version
# produces buffer overflows
#src_test(){
#	emake -j1 tests || die
#}

src_install() {
	insinto /usr/include/${PN}
	doins include/* || die

	dolib.so solib/* || die
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-02-06 19:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-06 19:35 [gentoo-commits] gentoo-x86 commit in sci-libs/cbflib: ChangeLog cbflib-0.8.1-r5.ebuild Justin Lecher (jlec)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox