Ticket #32041: apple-gcc42.patch
File apple-gcc42.patch, 1.4 KB (added by drkp (Dan Ports), 13 years ago) |
---|
-
files/other_langs.patch
1 1 --- build_gcc.orig 2011-07-08 00:24:49.000000000 -0700 2 2 +++ build_gcc 2011-07-08 00:31:49.000000000 -0700 3 @@ -178,9 +178,1 4@@ CONFIGFLAGS="--disable-checking \3 @@ -178,9 +178,12 @@ CONFIGFLAGS="--disable-checking \ 4 4 --libdir=$DEST_ROOT/lib/apple-gcc42 \ 5 5 --includedir=$DEST_ROOT/include/apple-gcc42 \ 6 6 --program-suffix=-apple-$MAJ_VERS \ 7 7 + --with-system-zlib \ 8 8 + --disable-nls \ 9 + --with-gmp=$DEST_ROOT \10 + --with-mpfr=$DEST_ROOT \11 9 --with-slibdir=/usr/lib \ 12 10 --build=$BUILD-apple-darwin$DARWIN_VERS" 13 11 -
Portfile
134 134 } 135 135 } 136 136 137 pre-build { 138 foreach {badport badfile} "libunwind-headers ${prefix}/include/unwind.h" { 139 if {[file exists ${badfile}]} { 140 ui_error "${name} cannot be built while ${badport} is active." 141 ui_error "Please deactivate ${badport} and try again." 142 ui_error "You can reactivate ${badport} again later." 143 return -code error "${badport} is installed" 144 } 145 } 146 } 137 compiler.cpath 147 138 148 139 # TODO: Use MacPorts dependencies 149 140 build.env \