Changeset 97955
- Timestamp:
- Sep 20, 2012, 8:35:59 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/math/petsc/Portfile
r96223 r97955 4 4 5 5 name petsc 6 version 3.3-p 26 version 3.3-p3 7 7 categories math science 8 8 maintainers mmoll … … 25 25 universal_variant no 26 26 27 checksums rmd160 200d049d691bce307d576aec27a4af6799e19802\28 sha256 75c0b127f1ba5077ae9d87d39331fb7cf1258c98ca7fd1dcf0f29f6d29ad3ff527 checksums rmd160 d7c09b2f3fc5bc9780f694774c71e46504181c2a \ 28 sha256 3ebd56d62bbf97c53e13e6987ce4c9f2bf88156010f21457cb41db247bc57969 29 29 30 30 depends_build-append port:cmake … … 45 45 --with-yaml-dir=${prefix} 46 46 47 pre-fetch { 48 if {![file exists ${prefix}/lib/libhdf5_fortran.a]} { 49 return -code error "Please install hdf5-18 with the +fortran variant enabled first." 50 } 51 } 52 47 53 pre-configure { 48 54 configure.args-append \ … … 52 58 --LDFLAGS="${configure.ldflags}" \ 53 59 --CFLAGS="${configure.cflags}" \ 54 --CXXFLAGS="${configure.cxxflags}" \ 60 --CXXFLAGS="${configure.cxxflags}" 61 if {[file exists ${prefix}/lib/petsc/lib/libpetsc.a]} { 62 ui_error "petsc must be deactivated before upgrade." 63 error "Please run `sudo port deactivate petsc` and try again." 64 } 55 65 } 56 66
Note: See TracChangeset
for help on using the changeset viewer.