public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-physics/root: ChangeLog root-5.16.00.ebuild root-4.02.00.ebuild
@ 2007-12-09 17:35 Sebastien Fabbro (bicatali)
  0 siblings, 0 replies; only message in thread
From: Sebastien Fabbro (bicatali) @ 2007-12-09 17:35 UTC (permalink / raw
  To: gentoo-commits

bicatali    07/12/09 17:35:12

  Modified:             ChangeLog root-5.16.00.ebuild
  Removed:              root-4.02.00.ebuild
  Log:
  Forced opengl as a dep, since it needs it anyway, added a possible fix for afs support, a die function for a g++ >= 4.2 and now use virtual/mysql instead of dev-db/mysql
  (Portage version: 2.1.4_rc8)

Revision  Changes    Path
1.16                 sci-physics/root/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/root/ChangeLog?rev=1.16&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/root/ChangeLog?rev=1.16&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/root/ChangeLog?r1=1.15&r2=1.16

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-physics/root/ChangeLog,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- ChangeLog	23 Nov 2007 16:01:06 -0000	1.15
+++ ChangeLog	9 Dec 2007 17:35:12 -0000	1.16
@@ -1,6 +1,12 @@
 # ChangeLog for sci-physics/root
 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/ChangeLog,v 1.15 2007/11/23 16:01:06 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/ChangeLog,v 1.16 2007/12/09 17:35:12 bicatali Exp $
+
+  09 Dec 2007; Sébastien Fabbro <bicatali@gentoo.org> -root-4.02.00.ebuild,
+  root-5.16.00.ebuild:
+  Forced opengl as a dep, since it needs it anyway, added a possible fix for
+  afs support, a die function for a g++ >= 4.2 and now use virtual/mysql
+  instead of dev-db/mysql
 
   23 Nov 2007; Samuli Suominen <drac@gentoo.org> root-5.16.00.ebuild:
   amd64 stable wrt #196282



1.10                 sci-physics/root/root-5.16.00.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/root/root-5.16.00.ebuild?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/root/root-5.16.00.ebuild?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/root/root-5.16.00.ebuild?r1=1.9&r2=1.10

Index: root-5.16.00.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-physics/root/root-5.16.00.ebuild,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- root-5.16.00.ebuild	23 Nov 2007 16:01:06 -0000	1.9
+++ root-5.16.00.ebuild	9 Dec 2007 17:35:12 -0000	1.10
@@ -1,6 +1,6 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/root-5.16.00.ebuild,v 1.9 2007/11/23 16:01:06 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/root-5.16.00.ebuild,v 1.10 2007/12/09 17:35:12 bicatali Exp $
 
 inherit versionator flag-o-matic eutils toolchain-funcs qt3 fortran
 
@@ -14,16 +14,18 @@
 SLOT="0"
 LICENSE="LGPL-2"
 KEYWORDS="amd64 sparc x86"
-IUSE="afs cern doc fftw kerberos ldap mysql odbc opengl postgres
+
+IUSE="afs cern doc fftw kerberos ldap mysql odbc postgres
 	python ruby qt3 ssl truetype xml"
 
 DEPEND="sys-apps/shadow
 	x11-libs/libXpm
 	>=sci-libs/gsl-1.8
 	dev-libs/libpcre
+	virtual/opengl
+	virtual/glu
 	|| ( media-libs/libafterimage x11-wm/afterstep )
-	opengl? ( virtual/opengl virtual/glu )
-	mysql? ( dev-db/mysql )
+	mysql? ( virtual/mysql )
 	postgres? ( dev-db/postgresql )
 	afs? ( net-fs/openafs )
 	kerberos? ( virtual/krb5 )
@@ -54,6 +56,12 @@
 		FORTRAN="gfortran g77 ifc"
 		fortran_pkg_setup
 	fi
+	if [[ "$(tc-getCXX)" == *g++* ]] && \
+		version_is_at_least 4.2 $(gcc-version); then
+		eerror "${P} will not compile with g++ >= 4.2"
+		eerror "Either downgrade gcc, use another C++ compiler or use root >= 5.18."
+		die "wrong g++ version"
+	fi
 }
 
 src_unpack() {
@@ -79,7 +87,7 @@
 			target=linuxicc
 		fi
 	fi
-
+	use afs && append-flags -DAFS_OLD_COM_ERR
 	local myfortran
 	use cern && myfortran="F77=${FORTRANC}"
 
@@ -126,6 +134,7 @@
 		--enable-mathcore \
 		--enable-mathmore \
 		--enable-minuit2 \
+		--enable-opengl \
 		--enable-reflex \
 		--enable-roofit \
 		--enable-shared	\
@@ -140,7 +149,6 @@
 		$(use_enable ldap) \
 		$(use_enable mysql) \
 		$(use_enable odbc) \
-		$(use_enable opengl) \
 		$(use_enable postgres pgsql) \
 		$(use_enable python) \
 		$(use_enable qt3 qt) \



-- 
gentoo-commits@gentoo.org mailing list



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

only message in thread, other threads:[~2007-12-09 17:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-09 17:35 [gentoo-commits] gentoo-x86 commit in sci-physics/root: ChangeLog root-5.16.00.ebuild root-4.02.00.ebuild Sebastien Fabbro (bicatali)

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