From e2b31e734e1221e19cf2fd66dc0098c18bfa9bf3 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 24 Sep 2013 17:30:53 -0500 Subject: Remove formulae moved to homebrew-science --- Library/Formula/ncview.rb | 60 ----------------------------------------------- 1 file changed, 60 deletions(-) delete mode 100644 Library/Formula/ncview.rb (limited to 'Library/Formula/ncview.rb') diff --git a/Library/Formula/ncview.rb b/Library/Formula/ncview.rb deleted file mode 100644 index 2a1fbae74..000000000 --- a/Library/Formula/ncview.rb +++ /dev/null @@ -1,60 +0,0 @@ -require 'formula' - -class Ncview < Formula - homepage 'http://meteora.ucsd.edu/~pierce/ncview_home_page.html' - url 'ftp://cirrus.ucsd.edu/pub/ncview/ncview-2.1.2.tar.gz' - sha1 '425b0f5d505af9c1f974903435af385582be7ae4' - - depends_on :x11 - depends_on "netcdf" - - # Disable a block in configure that tries to pass an RPATH to the compiler. - # The code guesses wrong which causes the linking step to fail. - def patches - DATA - end - - def install - system "./configure", "--disable-dependency-tracking", - "--prefix=#{prefix}" - system "make install" - end -end - -__END__ -Don't try to mess with the compiler rpath. Just not a good idea. - -diff --git a/configure b/configure -index b80ae96..a650f6f 100755 ---- a/configure -+++ b/configure -@@ -8672,29 +8672,6 @@ if test x$CC_TEST_SAME != x$NETCDF_CC_TEST_SAME; then - exit -1 - fi - --#---------------------------------------------------------------------------------- --# Construct our RPATH flags. Idea here is that we have LDFLAGS that might look, --# for example, something like this: --# LIBS="-L/usr/local/lib -lnetcdf -L/home/pierce/lib -ludunits" --# We want to convert this to -rpath flags suitable for the compiler, which would --# have this format: --# "-Wl,-rpath,/usr/local/lib -Wl,-rpath,/home/pierce/lib" --# --# As a safety check, I only do this for the GNU compiler, as I don't know if this --# is anything like correct syntax for other compilers. Note that this *does* work --# for the Intel icc compiler, but also that the icc compiler sets $ac_compiler_gnu --# to "yes". Go figure. --#---------------------------------------------------------------------------------- --if test x$ac_compiler_gnu = xyes; then -- RPATH_FLAGS="" -- for word in $UDUNITS2_LDFLAGS $NETCDF_LDFLAGS; do -- if test `expr $word : -L/` -eq 3; then -- RPDIR=`expr substr $word 3 999`; -- RPATH_FLAGS="$RPATH_FLAGS -Wl,-rpath,$RPDIR" -- fi -- done -- --fi - - - ac_config_files="$ac_config_files Makefile src/Makefile" -- cgit v1.2.3