Skip to content

Commit

Permalink
gdal: Remove libdap patch
Browse files Browse the repository at this point in the history
This patch is no longer needed for GDAL 1.10.

Closes Homebrew#19550.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
  • Loading branch information
fedxa authored and Sharpie committed May 1, 2013
1 parent 78a0efa commit 1c912ca
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions Library/Formula/gdal.rb
Expand Up @@ -46,8 +46,6 @@ class Gdal < Formula
depends_on "cfitsio"
depends_on "epsilon"
depends_on "libdap"
# Fix a bug in LibDAP detection: http://trac.osgeo.org/gdal/ticket/4630
def patches; DATA; end unless build.head?

# Vector libraries
depends_on "unixodbc" # OS X version is not complete enough
Expand Down Expand Up @@ -256,19 +254,3 @@ def caveats
end

__END__
Fix test for LibDAP >= 3.10.


diff --git a/configure b/configure
index 997bbbf..a1928d5 100755
--- a/configure
+++ b/configure
@@ -24197,7 +24197,7 @@ else
rm -f islibdappost310.*
echo '#include "Connect.h"' > islibdappost310.cpp
echo 'int main(int argc, char** argv) { return 0; } ' >> islibdappost310.cpp
-if test -z "`${CXX} islibdappost310.cpp -c ${DODS_INC} 2>&1`" ; then
+if test -z "`${CXX} islibdappost310.cpp -c ${DODS_INC} ${CPPFLAGS} 2>&1`" ; then
DODS_INC="$DODS_INC -DLIBDAP_310 -DLIBDAP_39"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: libdap >= 3.10" >&5
$as_echo "libdap >= 3.10" >&6; }

0 comments on commit 1c912ca

Please sign in to comment.