# HG changeset patch
# User Sean Farley <sean.michael.farley@gmail.com>
# Date 1354646153 21600
# Node ID 01ccba12aead438d43ea06f77d7b53723762802e
# Parent ce3f0abc9042338ff93d3faf02490c94cbef310a
py-pynifti: add gcc46 and gcc47 variants
diff --git a/dports/python/py-pynifti/Portfile b/dports/python/py-pynifti/Portfile
a
|
b
|
|
33 | 33 | patchfiles patch-setup-py.diff |
34 | 34 | post-patch { |
35 | 35 | reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py |
36 | 36 | } |
37 | 37 | |
38 | | variant gcc43 conflicts gcc44 gcc45 description {build with gcc 4.3} { |
| 38 | variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description {build with gcc 4.3} { |
39 | 39 | depends_build-append port:gcc43 |
40 | 40 | configure.compiler macports-gcc-4.3 |
41 | 41 | } |
42 | 42 | |
43 | | variant gcc44 conflicts gcc43 gcc45 description {build with gcc 4.4} { |
| 43 | variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 description {build with gcc 4.4} { |
44 | 44 | depends_build-append port:gcc44 |
45 | 45 | configure.compiler macports-gcc-4.4 |
46 | 46 | } |
47 | 47 | |
48 | | variant gcc45 conflicts gcc43 gcc44 description {build with gcc 4.5} { |
| 48 | variant gcc45 conflicts gcc43 gcc44 gcc46 gc47 description {build with gcc 4.5} { |
49 | 49 | depends_build-append port:gcc45 |
50 | 50 | configure.compiler macports-gcc-4.5 |
51 | 51 | } |
52 | 52 | |
| 53 | variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 description {build with gcc 4.6} { |
| 54 | depends_build-append port:gcc46 |
| 55 | configure.compiler macports-gcc-4.6 |
| 56 | } |
| 57 | |
| 58 | variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 description {build with gcc 4.7} { |
| 59 | depends_build-append port:gcc47 |
| 60 | configure.compiler macports-gcc-4.7 |
| 61 | } |
| 62 | |
53 | 63 | if {![variant_isset gcc43] && ![variant_isset gcc44]} { |
54 | | default_variants +gcc45 |
| 64 | default_variants +gcc47 |
55 | 65 | } |
56 | 66 | |
57 | 67 | livecheck.type none |
58 | 68 | } else { |
59 | 69 | livecheck.regex {pynifti_([0-9.]+).tar.gz} |