Changeset 80127
- Timestamp:
- 07/04/11 17:39:43 (4 years ago)
- File:
-
- 1 edited
-
trunk/dports/lang/apple-gcc40/Portfile (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/lang/apple-gcc40/Portfile
r61327 r80127 4 4 5 5 name apple-gcc40 6 version 54 656 version 5493 7 7 categories lang 8 8 platforms darwin … … 12 12 version 4.0. Supports C and Objective-C only. 13 13 14 homepage http:// developer.apple.com/documentation/DeveloperTools/gcc-4.0/gcc/15 master_sites http:// www.opensource.apple.com/darwinsource/tarballs/other/14 homepage http://opensource.apple.com/ 15 master_sites http://opensource.apple.com/tarballs/gcc 16 16 distname gcc-${version} 17 checksums sha1 7452d5a5a8f8b125cf2ab31781c78da9b6d84bbe 17 checksums md5 66651c04639a222434f21e62f4cf0419 \ 18 sha1 e3b1f67ff250730f5b4ee9674a1970aa7d9db399 \ 19 rmd160 3566d6e5c74bdb442cfb6b20450c2b2137ef0627 18 20 19 21 post-extract { file mkdir ${workpath}/build } … … 41 43 destroot.dir ${build.dir} 42 44 45 # STAGE1_CFLAGS="-O2 -fkeep-inline-functions" : from configure.ac 46 # BOOT_CFLAGS="-O2 -g" : from Makefile.tpl 47 # -std=gnu89 : for building with compilers that default to c99 (clang) 48 # -D_FORTIFY_SOURCE=0 : The built compiler might not understand newer builtins 49 # exposed in libc headers for fortified string functions. 50 # Yes, we need to set both BOOT_CFLAGS and STAGE1_CFLAGS 51 # because STAGE1_CFLAGS is used with xgcc for libgcc 52 build.args-append BOOT_CFLAGS="-O2 -g -D_FORTIFY_SOURCE=0" STAGE1_CFLAGS="-O2 -fkeep-inline-functions -D_FORTIFY_SOURCE=0 -std=gnu89" 53 43 54 post-destroot { 44 55 file delete -force \ … … 47 58 } 48 59 49 livecheck.type moddate 50 livecheck.url ${master_sites} 51 60 # It's difficult to distinguish between Apple's gcc-4.0 and gcc-4.2 releases 61 livecheck.type none
Note: See TracChangeset
for help on using the changeset viewer.

