1 | # $Id: Portfile,v 1.3 2005/02/14 15:06:00 gwright Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name gcc40 |
---|
5 | version 4062 |
---|
6 | description Development snapshot of Apple's version of GCC 4.0. |
---|
7 | long_description Development snapshot of Apple's version of GCC 4.0. |
---|
8 | platforms darwin |
---|
9 | categories lang |
---|
10 | maintainers danchr@opendarwin.org |
---|
11 | |
---|
12 | depends_lib path:${prefix}/bin/libtool:odcctools |
---|
13 | |
---|
14 | worksrcdir gcc |
---|
15 | |
---|
16 | fetch.type cvs |
---|
17 | cvs.root :ext:anoncvs@savannah.gnu.org:/cvsroot/gcc |
---|
18 | cvs.module gcc |
---|
19 | cvs.tag apple-gcc-${version} |
---|
20 | cvs.env CVS_RSH=ssh |
---|
21 | |
---|
22 | patch { |
---|
23 | reinplace "s|/usr/bin/libtool|${prefix}/bin/libtool|g" \ |
---|
24 | ${worksrcpath}/gcc/config/darwin.h |
---|
25 | } |
---|
26 | |
---|
27 | configure { file mkdir ${workpath}/sym ${workpath}/obj } |
---|
28 | |
---|
29 | build { } |
---|
30 | |
---|
31 | # FIXME: elaborate for puredarwin, darwin_8 |
---|
32 | destroot.args RC_OS=macos RC_ARCHS=ppc TARGETS=ppc \ |
---|
33 | SRCROOT=${worksrcpath} DSTROOT=${destroot} \ |
---|
34 | SYMROOT=${workpath}/sym OBJROOT=${workpath}/obj |
---|