Ticket #2796: Portfile.2

File Portfile.2, 915 bytes (added by danchr@…, 20 years ago)

Portfile for gcc40

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