diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2004-11-21 20:56:57 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2004-11-21 20:56:57 +0000 |
commit | 3c83758fd227515c5d49daa1ece66c0951946595 (patch) | |
tree | 1b3205f53c4de3fc490089504c573c8b6c6bfc80 /math/petsc/files/patch-python::PETSc::packages::X11.py | |
parent | It's unclear why removing LDFLAGS="${LDFLAGS}" from CONFIGURE_ENV (diff) |
Add petsc 2.2.1, portable, Extensible Toolkit for Scientific
computation.
Notes
Notes:
svn path=/head/; revision=122097
Diffstat (limited to 'math/petsc/files/patch-python::PETSc::packages::X11.py')
-rw-r--r-- | math/petsc/files/patch-python::PETSc::packages::X11.py | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/math/petsc/files/patch-python::PETSc::packages::X11.py b/math/petsc/files/patch-python::PETSc::packages::X11.py new file mode 100644 index 000000000000..3ecac3113c25 --- /dev/null +++ b/math/petsc/files/patch-python::PETSc::packages::X11.py @@ -0,0 +1,27 @@ +--- python/PETSc/packages/X11.py.orig Wed Sep 22 02:45:51 2004 ++++ python/PETSc/packages/X11.py Sat Oct 2 00:27:14 2004 +@@ -26,7 +26,7 @@ + import nargs + help.addArgument('X11', '-with-x=<bool>', nargs.ArgBool(None, 1, 'Activate X11')) + help.addArgument('X11', '-with-x-include=<include dir>', nargs.ArgDir(None, None, 'Specify an include directory for X11')) +- help.addArgument('X11', '-with-x-lib=<X11 lib>', nargs.Arg(None, None, 'Specify X11 library file')) ++ help.addArgument('X11', '-with-x-library=<X11 lib>', nargs.Arg(None, None, 'Specify X11 library file')) + return + + def generateGuesses(self): +@@ -123,6 +123,7 @@ + if not os.path.isdir(self.framework.argDB['with-x-include']): + raise RuntimeError('Invalid X include directory specified by --with-x-include='+os.path.abspath(self.framework.argDB['with-x-include'])) + includeDir = self.framework.argDB['with-x-include'] ++ foundInclude = 1 + else: + testInclude = 'X11/Intrinsic.h' + +@@ -144,6 +145,7 @@ + if not os.path.isfile(self.framework.argDB['with-x-library']): + raise RuntimeError('Invalid X library specified by --with-x-library='+os.path.abspath(self.framework.argDB['with-x-library'])) + libraryDir = os.path.dirname(self.framework.argDB['with-x-library']) ++ foundLibrary = 1 + else: + testLibrary = 'Xt' + testFunction = 'XtMalloc' |