Ticket #40930: Portfile.diff
File Portfile.diff, 1.5 KB (added by tenomoto (Takeshi Enomoto), 11 years ago) |
---|
-
Portfile
94 94 # temporary patches; these are fixed upstream already. 95 95 96 96 patchfiles-append \ 97 patch-configure.diff \ 97 98 patch-liboctave-eigs-base.cc.diff \ 98 99 patch-liboctave-regexp.h.diff 99 100 101 if {${os.platform}=="darwin" && ${os.version} > 10} { 102 # 10.7 or later requires an extra patch; this patch will break the build on 103 # 10.6 and prior, so apply it only under 10.7. 104 patchfiles-append patch-src-display.cc.diff 105 } 106 100 107 # Block compilers: Some older versions of CLANG do not honor the CPATH 101 108 # environment variables, which is required for compiling this port 102 109 # when using MacPorts. The versions seem to be: MacPorts CLANG 2.9 or … … 107 114 108 115 compiler.blacklist-append { clang <= 318.0.61 } macports-clang-2.9 109 116 110 platform darwin 11 { 111 # 10.7 requires an extra patch; this patch will break the build on 112 # 10.6 and prior, so apply it only under 10.7. 113 114 patchfiles-append patch-src-display.cc.diff 115 } 116 117 platform darwin 12 { 118 # In 10.8 patch is required as above, also 119 # the LANG environment variable needs to 117 if {${os.platform} == "darwin" && ${os.version} > 11} { 118 # With 10.8 or later, the LANG environment variable needs to 120 119 # be set to "C" otherwise /usr/bin/sed 121 120 # fails with an error, if you installed gsed 122 121 # with default name this should have no effect. 123 122 124 patchfiles-append patch-src-display.cc.diff125 123 build.args-append LANG="C" 126 124 } 127 125