jlec 14/06/06 08:10:14 Added: relax-3.2.2-gentoo.patch Log: sci-chemistry/relax: Version Bump (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Revision Changes Path 1.1 sci-chemistry/relax/files/relax-3.2.2-gentoo.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/relax/files/relax-3.2.2-gentoo.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/relax/files/relax-3.2.2-gentoo.patch?rev=1.1&content-type=text/plain Index: relax-3.2.2-gentoo.patch =================================================================== sconstruct | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sconstruct b/sconstruct index 511a6dd..fc2d6de 100644 --- a/sconstruct +++ b/sconstruct @@ -25,7 +25,7 @@ # Import statements. -from os import F_OK, access, getcwd, path, remove, rmdir, sep, walk +from os import F_OK, access, getcwd, path, remove, rmdir, sep, walk, environ import platform from re import search from shutil import rmtree @@ -630,6 +630,11 @@ class Main: for file in files: nodes.append(env.SharedObject(dir + path.sep + file, CCFLAGS=cflags)) + env.Append(LINKFLAGS = environ['LDFLAGS']) + env.Append(CFLAGS = environ['CFLAGS']) + env.Replace(CC = environ['CC']) + + # Build the relaxation curve fitting module. self.relax_fit_object = env.SharedLibrary(target=dir + path.sep + 'relax_fit', source=nodes, SHLIBPREFIX=prefix, SHLIBSUFFIX=suffix)