summaryrefslogtreecommitdiff
path: root/math/petsc/files/patch-python::PETSc::packages::X11.py
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2005-09-17 21:08:25 +0000
committerThierry Thomas <thierry@FreeBSD.org>2005-09-17 21:08:25 +0000
commita598ad2eb7147b779b4ca9a251dd9ac4c4d1f455 (patch)
tree6a6fc9d27e4d948b3f66b9c3445cad675d060c59 /math/petsc/files/patch-python::PETSc::packages::X11.py
parent- Make sample configuration file respect PREFIX and LOCALBASE (diff)
Upgrade to v2.3.0.
Notes
Notes: svn path=/head/; revision=143030
Diffstat (limited to 'math/petsc/files/patch-python::PETSc::packages::X11.py')
-rw-r--r--math/petsc/files/patch-python::PETSc::packages::X11.py22
1 files changed, 3 insertions, 19 deletions
diff --git a/math/petsc/files/patch-python::PETSc::packages::X11.py b/math/petsc/files/patch-python::PETSc::packages::X11.py
index 3ecac3113c25..981840edbf20 100644
--- a/math/petsc/files/patch-python::PETSc::packages::X11.py
+++ b/math/petsc/files/patch-python::PETSc::packages::X11.py
@@ -1,5 +1,5 @@
---- 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
+--- python/PETSc/packages/X11.py.orig Thu Aug 11 01:08:41 2005
++++ python/PETSc/packages/X11.py Sun Aug 21 23:06:02 2005
@@ -26,7 +26,7 @@
import nargs
help.addArgument('X11', '-with-x=<bool>', nargs.ArgBool(None, 1, 'Activate X11'))
@@ -8,20 +8,4 @@
+ 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'
+ def setupDependencies(self, framework):