Ticket #18733: i386-mingw32-binutils.diff
File i386-mingw32-binutils.diff, 1.5 KB (added by blb@…, 16 years ago) |
---|
-
Portfile
2 2 PortSystem 1.0 3 3 4 4 name i386-mingw32-binutils 5 version 2.1 6.91-20060119-15 version 2.19.1 6 6 maintainers landonf@macports.org 7 7 description Mingw32 Binutils for i386-mingw32 cross development 8 8 long_description Mingw32 development toolchain ("binutils") \ … … 17 17 18 18 platforms darwin 19 19 master_sites sourceforge:mingw 20 distname binutils-${version}- src20 distname binutils-${version}-mingw32-src 21 21 worksrcdir binutils-${version} 22 checksums md5 42e3a665111121075480244cafc27ce7 22 checksums md5 ad3f2b5fdcd599a772ad75fec2c384d8 \ 23 sha1 7e930435c47991c4070b1c74b010350e4669011f \ 24 rmd160 98916f371f647864997bb00084a5e7a0fd46d982 23 25 24 26 # Build in a different directory, as advised in the README file. 25 27 pre-configure { system "cd ${workpath} && mkdir -p build"} … … 27 29 configure.cmd ${worksrcpath}/configure 28 30 configure.args --infodir='${prefix}/share/info' --target=${crossgcc-target} \ 29 31 --program-prefix=${crossgcc-target}- --mandir='${prefix}/share/man' 32 # Append CPPFLAGS to CFLAGS and CXXFLAGS as CPPFLAGS seems to be ignored 33 configure.cflags-append ${configure.cppflags} 34 configure.cxxflags-append ${configure.cppflags} 30 35 build.dir ${workpath}/build 31 36 32 37 # We don't want the etc module. … … 34 39 system "rm -rf ${worksrcpath}/etc" 35 40 } 36 41 37 patchfiles patch-configure.diff38 42 post-patch { 39 43 namespace eval crossgcc {} 40 44