Ticket #21153: Portfile_SparseSuite.diff
File Portfile_SparseSuite.diff, 1.1 KB (added by Veence (Vincent), 15 years ago) |
---|
-
Portfile
old new 21 21 22 22 use_parallel_build no 23 23 24 patchfiles MakefileCOLAMD.diff \ 25 MakefileCCOLAMD.diff 26 24 27 # cflags recommended for Macs in ${worksrcpath}/UFconfig/UFconfig.mk 25 configure.cflags -O3 -fno-common -no-cpp-precomp -fexceptions 28 configure.cflags -O3 -fno-common -no-cpp-precomp -fexceptions 26 29 27 30 use_configure no 28 31 build.target … … 68 71 "s|^CPLUSPLUS = .*$|CPLUSPLUS = ${configure.cxx}|g" \ 69 72 ${worksrcpath}/UFconfig/UFconfig.mk 70 73 reinplace -E \ 71 "s|^CFLAGS = .*$|CFLAGS = ${configure.cflags} |g" \74 "s|^CFLAGS = .*$|CFLAGS = ${configure.cflags} ${configure.universal_cflags} -DNDEBUG|g" \ 72 75 ${worksrcpath}/UFconfig/UFconfig.mk 73 76 reinplace -E \ 74 77 "s|^CFLAGS = -O|CFLAGS = -O3|g" \ … … 86 89 reinplace -E \ 87 90 "s|^METIS = .*$|METIS = ${prefix}/lib/libmetis.a|g" \ 88 91 ${worksrcpath}/UFconfig/UFconfig.mk 92 93 reinplace -E \ 94 "s|^CFLAGS =|CFLAGS = ${configure.universal_cflags}|" \ 95 ${worksrcpath}/CSparse/Lib/Makefile 89 96 } 90 97 91 98 destroot {