diff options
| author | Jack Nagel | 2014-05-21 18:50:22 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-21 18:58:08 -0500 |
| commit | c4684d27deb0814c0691b33cdf466ed9a4c021c8 (patch) | |
| tree | c7fdddad01272e3a3920a92d340c418e0fcbb55f /Library | |
| parent | 58c818cd2188fc1d35c2c521b6b1da7e6e771c82 (diff) | |
| download | homebrew-c4684d27deb0814c0691b33cdf466ed9a4c021c8.tar.bz2 | |
imake: remove obsolete cpp workaround
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/imake.rb | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/Library/Formula/imake.rb b/Library/Formula/imake.rb index c1a220d35..ec40fbc02 100644 --- a/Library/Formula/imake.rb +++ b/Library/Formula/imake.rb @@ -13,10 +13,6 @@ class Imake < Formula sha1 'ae22eb81d56d018f0b3b149f70965ebfef2385fd' end - # Remove cpp whitespace check and add "-" to pass the cpp -undef test. - # These are needed to support superenv (which uses clang) - patch :DATA - def install ENV.deparallelize system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" @@ -32,44 +28,3 @@ class Imake < Formula end end end - -__END__ -diff --git a/configure b/configure -index d4c46f0..4a31a8a 100755 ---- a/configure -+++ b/configure -@@ -10581,7 +10581,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - Does cpp redefine unix ? - _ACEOF --if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then -+if test `${RAWCPP} - < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 - $as_echo "no" >&6; } - else -@@ -10600,27 +10600,6 @@ $as_echo "yes, with -ansi" >&6; } - fi - rm -f conftest.$ac_ext - --{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -traditional" >&5 --$as_echo_n "checking if $RAWCPP requires -traditional... " >&6; } --cat confdefs.h - <<_ACEOF >conftest.$ac_ext --/* end confdefs.h. */ --Does cpp preserve "whitespace"? --_ACEOF --if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve \"'` -eq 1 ; then -- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 --$as_echo "no" >&6; } --else -- if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve \"'` -eq 1 ; then -- RAWCPPFLAGS="${RAWCPPFLAGS} -traditional" -- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 --$as_echo "yes" >&6; } -- else -- as_fn_error $? "${RAWCPP} does not preserve whitespace with or without -traditional. I don't know what to do." "$LINENO" 5 -- fi --fi --rm -f conftest.$ac_ext -- -- - CPP_PROGRAM=${RAWCPP} |
