Ticket #32041: apple-gcc42.patch

File apple-gcc42.patch, 1.4 KB (added by drkp (Dan Ports), 13 years ago)
  • files/other_langs.patch

     
    11--- build_gcc.orig      2011-07-08 00:24:49.000000000 -0700
    22+++ build_gcc   2011-07-08 00:31:49.000000000 -0700
    3 @@ -178,9 +178,14 @@ CONFIGFLAGS="--disable-checking  \
     3@@ -178,9 +178,12 @@ CONFIGFLAGS="--disable-checking  \
    44   --libdir=$DEST_ROOT/lib/apple-gcc42 \
    55   --includedir=$DEST_ROOT/include/apple-gcc42 \
    66   --program-suffix=-apple-$MAJ_VERS \
    77+  --with-system-zlib \
    88+  --disable-nls \
    9 +  --with-gmp=$DEST_ROOT \
    10 +  --with-mpfr=$DEST_ROOT \
    119   --with-slibdir=/usr/lib \
    1210   --build=$BUILD-apple-darwin$DARWIN_VERS"
    1311 
  • Portfile

     
    134134        }
    135135}
    136136
    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 }
     137compiler.cpath
    147138
    148139# TODO: Use MacPorts dependencies
    149140build.env \