# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/dev-libs/root/root-3.05.03.ebuild,v 1.0 2003/03/12 22:22:22 Dmitry Kustov Exp $ inherit flag-o-matic eutils S=${WORKDIR}/${PN} DESCRIPTION="An Object-Oriented Data Analysis Framework" SRC_URI="ftp://root.cern.ch/root/root_v${PV}.source.tar.gz" HOMEPAGE="http://root.cern.ch/" SLOT="0" LICENSE="as-is" KEYWORDS="x86 sparc ~ppc" IUSE="mysql postgres opengl" DEPEND="virtual/x11 opengl? ( virtual/opengl virtual/glu ) openldap? ( >=net-nds/openldap-2.0.27 ) mysql? ( >=dev-db/mysql-3.23.53 ) postgres? ( >=dev-db/postgresql-7.3 )" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/root-makefile.patch } src_compile() { case $SYSTEM_ARCH in ppc) append-flags "-fsigned-char";; esac export GENTOO_CFLAGS="${CFLAGS}" GENTOO_CXXFLAGS="${CXXFLAGS}" ./configure \ linux \ --prefix=/usr \ --docdir=/usr/share/doc/${P} \ --enable-shared \ --disable-rpath \ --enable-thread \ --disable-afs \ --disable-alien \ --disable-cern \ --disable-sapdb \ --disable-rfio \ --disable-dcache \ --disable-srp \ --disable-krb5 \ --enable-shadowpw \ --disable-pythia \ --disable-pythia6 \ --disable-venus \ --enable-soversion \ `use_enable opengl` \ `use_enable ldap` \ `use_enable mysql` \ `use_enable postgres pgsql` \ ${myconf} || die "./configure failed" make || die } src_install() { make DESTDIR=${D} install || die dodir /etc/env.d echo "LDPATH=/usr/lib/root" > ${D}/etc/env.d/60root } Reproducible: Always Steps to Reproduce: 1. 2. 3. Below the file root-makefile.patch _________________________________________________________ --- root/config/Makefile.linux.old 2003-03-12 14:08:36.000000000 +0000 +++ root/config/Makefile.linux 2003-03-12 14:10:03.000000000 +0000 @@ -5,7 +5,7 @@ PLATFORM = linux DEBUGFLAGS = -g -OPTFLAGS = -O +OPTFLAGS = ifeq (debug,$(findstring debug,$(ROOTBUILD))) OPT = $(DEBUGFLAGS) NOOPT = @@ -15,8 +15,8 @@ endif # Compiler: -CXX = g++ -CC = gcc +CXX = g++ $(GENTOO_CXXFLAGS) +CC = gcc $(GENTOO_CFLAGS) CXXFLAGS = -pipe -Wall -Woverloaded-virtual -fPIC $(EXTRA_CXXFLAGS) CFLAGS = -pipe -Wall -fPIC $(EXTRA_CFLAGS) CINTCXXFLAGS = -pipe -Wall -Woverloaded-virtual -fPIC $(EXTRA_CXXFLAGS) \ @@ -41,7 +41,7 @@ # Fortran: F77 = g77 -F77FLAGS = +F77FLAGS = $(GENTOO_CFLAGS) F77LIBS = -lg2c -lnsl # Extras
Created attachment 9308 [details, diff] ebuild
Created attachment 9309 [details, diff] patch
line IUSE="mysql postgres opengl" should be replaced by IUSE="ldap mysql postgres opengl"
Sorry to be in late, there is a newer version and the previous didn't build on my system, could you try the new one in portage and report me if there is something to fix, please. Thank you for you submissiom
See #19911