mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 06:10:30 -04:00
Bump math/sundials and math/petiga. On commit because they depend on each other and don't build unless versions match.
22 lines
1.2 KiB
Python
22 lines
1.2 KiB
Python
--- config/install.py.orig 2018-10-02 22:50:33 UTC
|
|
+++ config/install.py
|
|
@@ -311,13 +311,13 @@ for dir in dirs:
|
|
|
|
def installShare(self):
|
|
self.copies.extend(self.copytree(self.rootShareDir, self.destShareDir))
|
|
- examplesdir=os.path.join(self.destShareDir,'slepc','examples')
|
|
- if os.path.exists(os.path.join(self.destShareDir,'slepc','examples')):
|
|
- shutil.rmtree(os.path.join(self.destShareDir,'slepc','examples'))
|
|
- os.mkdir(os.path.join(self.destShareDir,'slepc','examples'))
|
|
- self.copyExamples(self.rootDir,os.path.join(self.destShareDir,'slepc','examples'))
|
|
+ examplesdir=os.path.join(self.destShareDir,'examples','slepc')
|
|
+ if os.path.exists(os.path.join(self.destShareDir,'examples','slepc')):
|
|
+ shutil.rmtree(os.path.join(self.destShareDir,'examples','slepc'))
|
|
+ os.mkdir(os.path.join(self.destShareDir,'examples','slepc'))
|
|
+ self.copyExamples(self.rootDir,os.path.join(self.destShareDir,'examples','slepc'))
|
|
self.copyConfig(self.rootDir,examplesdir)
|
|
- self.fixExamplesMakefile(os.path.join(self.destShareDir,'slepc','examples','makefile'))
|
|
+ self.fixExamplesMakefile(os.path.join(self.destShareDir,'examples','slepc','makefile'))
|
|
return
|
|
|
|
def copyLib(self, src, dst):
|