Revision: 74232 http://trac.macports.org/changeset/74232 Author: jmr@macports.org Date: 2010-12-07 20:44:30 -0800 (Tue, 07 Dec 2010) Log Message: ----------- gpc34: partly fix i386 build (#18729) Modified Paths: -------------- trunk/dports/lang/gpc34/Portfile Added Paths: ----------- trunk/dports/lang/gpc34/files/gcc-config-i386-darwin.h.diff Modified: trunk/dports/lang/gpc34/Portfile =================================================================== --- trunk/dports/lang/gpc34/Portfile 2010-12-08 04:24:05 UTC (rev 74231) +++ trunk/dports/lang/gpc34/Portfile 2010-12-08 04:44:30 UTC (rev 74232) @@ -33,6 +33,7 @@ } patch.dir ${workpath}/gcc-${gcc_version} +patchfiles gcc-config-i386-darwin.h.diff configure.cc_archflags configure.cxx_archflags @@ -71,5 +72,8 @@ configure.compiler gcc-3.3 } platform darwin 9 { - patchfiles-append gcc-config-rs6000-host-darwin.c.diff + patchfiles-append gcc-config-rs6000-host-darwin.c.diff } +platform darwin 10 { + configure.compiler gcc-4.0 +} Added: trunk/dports/lang/gpc34/files/gcc-config-i386-darwin.h.diff =================================================================== --- trunk/dports/lang/gpc34/files/gcc-config-i386-darwin.h.diff (rev 0) +++ trunk/dports/lang/gpc34/files/gcc-config-i386-darwin.h.diff 2010-12-08 04:44:30 UTC (rev 74232) @@ -0,0 +1,12 @@ +--- gcc/config/i386/darwin.h.orig 2004-08-24 04:02:49.000000000 +1000 ++++ gcc/config/i386/darwin.h 2010-12-08 15:33:01.000000000 +1100 +@@ -43,7 +43,8 @@ Boston, MA 02111-1307, USA. */ + + /* Use the following macro for any Darwin/x86-specific command-line option + translation. */ +-#define SUBTARGET_OPTION_TRANSLATE_TABLE ++#define SUBTARGET_OPTION_TRANSLATE_TABLE \ ++ { "", "" } + + #define ASM_SPEC "-arch i386 \ + %{Zforce_cpusubtype_ALL:-force_cpusubtype_ALL} \
participants (1)
-
jmr@macports.org