Changeset 79373
- Timestamp:
- 06/11/11 14:12:29 (4 years ago)
- Location:
- trunk/dports/devel/gmp
- Files:
-
- 1 deleted
- 1 edited
-
Portfile (modified) (5 diffs)
-
files/patch-config.guess.i7.diff (deleted)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/devel/gmp/Portfile
r77717 r79373 6 6 7 7 name gmp 8 version 5.0. 19 revision 18 version 5.0.2 9 revision 0 10 10 categories devel math 11 11 maintainers mcalhoun openmaintainer … … 26 26 master_sites gnu 27 27 28 checksums md5 6bac6df75c192a13419dfd71d19240a7\29 sha1 6340edc7ceb95f9015a758c7c0d196eb0f441d49\30 rmd160 3e89ebf5294639e1c926b92d9786bbdd0c8fa58728 checksums md5 0bbaedc82fb30315b06b1588b9077cd3 \ 29 sha1 2968220e1988eabb61f921d11e5d2db5431e0a35 \ 30 rmd160 fce06e3246f067301a54f3457960f1d6d71adfc2 31 31 32 32 use_bzip2 yes … … 35 35 # See #16634 36 36 patchfiles patch-gmp-h.in.diff 37 38 # Until GMP 5.0.2 is released, Sandy Bridge not recognized. See #2889239 patchfiles-append patch-config.guess.i7.diff40 37 41 38 configure.args --infodir=${prefix}/share/info \ … … 52 49 configure.cxxflags 53 50 configure.pipe no 54 55 # Since CFLAGS and CXXFLAGS must be empty, append -arch ... to CC and CXX.56 merger_arch_compiler yes57 51 58 52 test.run yes … … 93 87 } 94 88 89 # Since CFLAGS and CXXFLAGS must be empty, append -arch ... to CC and CXX. 90 merger_arch_compiler yes 91 92 # -arch i386 on causes the test suite to fail, so override muniversal_get_arch_flag in muniversal portgroup 93 # Only append -arch ... to compiler if cross compiling. 94 # i386 code is generated by setting ABI=32 95 proc muniversal_get_arch_flag {arch {fortran ""}} { 96 global os.arch 97 98 if { ${os.arch}=="i386" && (${arch}=="i386" || ${arch}=="x86_64") } { 99 set archf "" 100 } elseif { ${os.arch}=="powerpc" && (${arch}=="ppc" && ${arch}=="ppc64") } { 101 set archf "" 102 } else { 103 set archf "-arch ${arch}" 104 } 105 return ${archf} 106 } 107 95 108 # universal_archs_to_use might not be set before pre-fetch. 96 109 pre-destroot {
Note: See TracChangeset
for help on using the changeset viewer.

