From 3b1f7aa253044d540146b69dbce966bf124cfd84 Mon Sep 17 00:00:00 2001 From: Benjamin Bannier Date: Wed, 16 Jul 2008 15:49:19 -0400 Subject: [PATCH] Rebuild granular libraries "make global" removes all the granular libraries we built in the step before. I had a look at the build process in the ./Configure script (install.sh): they build global first and then the rest. However, trying this order in the ebuild does not build the granular libraries ("no rule for obj.last" in "make global"). This patch just makes sure that the granular libraries are rebuild from the object files that are still around in case we build global libraries, too. --- geant-4.9.1_p02.ebuild | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/geant-4.9.1_p02.ebuild b/geant-4.9.1_p02.ebuild index 19da6ea..0a019c5 100644 --- a/geant-4.9.1_p02.ebuild +++ b/geant-4.9.1_p02.ebuild @@ -130,6 +130,7 @@ src_compile() { if use global; then export G4LIB_USE_GRANULAR=y emake global || die "Building global libraries failed" + emake || die "Rebuilding shared geant failed" fi if use static; then -- 1.5.6.2