[57807] trunk/dports/lang/gcc44

jmr at macports.org jmr at macports.org
Wed Sep 16 17:45:35 PDT 2009


Revision: 57807
          http://trac.macports.org/changeset/57807
Author:   jmr at macports.org
Date:     2009-09-16 17:45:30 -0700 (Wed, 16 Sep 2009)
Log Message:
-----------
gcc44: buildfix for snow leopard (#20838)

Modified Paths:
--------------
    trunk/dports/lang/gcc44/Portfile

Added Paths:
-----------
    trunk/dports/lang/gcc44/files/Make-lang.in.diff

Modified: trunk/dports/lang/gcc44/Portfile
===================================================================
--- trunk/dports/lang/gcc44/Portfile	2009-09-16 23:53:40 UTC (rev 57806)
+++ trunk/dports/lang/gcc44/Portfile	2009-09-17 00:45:30 UTC (rev 57807)
@@ -40,6 +40,9 @@
 
 depends_lib		port:gmp port:mpfr port:libiconv
 
+patchfiles      Make-lang.in.diff
+patch.dir       ${workpath}/gcc-${version}
+
 set major		4.4
 
 worksrcdir		build
@@ -52,7 +55,7 @@
     configure.pre_args-append --build=${build_arch}-apple-darwin${os.major}
 }
 
-pre-configure {
+post-extract {
 	file mkdir ${worksrcpath}
 }
 
@@ -109,7 +112,7 @@
 variant odcctools \
 	description "Use the odcctools instead of the system provided ones - does not work for x64 currently!" {
 	depends_lib-append	port:odcctools
-	patch {
+	post-patch {
 		reinplace "s|/usr/bin/libtool|${prefix}/bin/odlibtool|g" \
 			${workpath}/gcc-${version}/gcc/config/darwin.h
 	}

Added: trunk/dports/lang/gcc44/files/Make-lang.in.diff
===================================================================
--- trunk/dports/lang/gcc44/files/Make-lang.in.diff	                        (rev 0)
+++ trunk/dports/lang/gcc44/files/Make-lang.in.diff	2009-09-17 00:45:30 UTC (rev 57807)
@@ -0,0 +1,13 @@
+--- gcc/cp/Make-lang.in	2009/09/09 08:14:36	151554
++++ gcc/cp/Make-lang.in	2009/09/09 08:46:32	151555
+@@ -72,8 +72,8 @@
+ # Shared with C front end:
+ CXX_C_OBJS = attribs.o c-common.o c-format.o c-pragma.o c-semantics.o c-lex.o \
+ 	c-dump.o $(CXX_TARGET_OBJS) c-pretty-print.o c-opts.o c-pch.o \
+-	incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o \
+-	c-gimplify.o c-omp.o tree-inline.o
++	incpath.o c-ppoutput.o c-cppbuiltin.o prefix.o \
++	c-gimplify.o c-omp.o
+ 
+ # Language-specific object files for C++ and Objective C++.
+ CXX_AND_OBJCXX_OBJS = cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090916/ec9fc7bd/attachment.html>


More information about the macports-changes mailing list