diff options
| author | Adam Vandenberg | 2012-02-13 20:01:35 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2012-02-13 21:53:05 -0800 |
| commit | d3b094bd5ec47dec2a53002b4d523c96520c9776 (patch) | |
| tree | 175e041e6fdd20895c6a471f870cc3bc6d96cccd /Library/Formula | |
| parent | 16213e2be8984eabb38e2ed45fae8269daf38a0e (diff) | |
| download | homebrew-d3b094bd5ec47dec2a53002b4d523c96520c9776.tar.bz2 | |
gptsync: avoid patch
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gptsync.rb | 27 |
1 files changed, 3 insertions, 24 deletions
diff --git a/Library/Formula/gptsync.rb b/Library/Formula/gptsync.rb index e4e63ab8e..c53c1b424 100644 --- a/Library/Formula/gptsync.rb +++ b/Library/Formula/gptsync.rb @@ -1,36 +1,15 @@ require 'formula' class Gptsync < Formula - url 'http://downloads.sourceforge.net/refit/refit-src-0.14.tar.gz' homepage 'http://refit.sourceforge.net/' + url 'http://downloads.sourceforge.net/refit/refit-src-0.14.tar.gz' md5 '16f02fa5b5decdee17eebd5cd863b3f0' - # Fix to use selected compiler instead of gcc 4.0 - def patches - DATA - end - def install Dir.chdir "gptsync" do - system "make -f Makefile.unix" - sbin.install ['gptsync', 'showpart'] + system "make", "-f", "Makefile.unix", "CC=#{ENV.cc}" + sbin.install 'gptsync', 'showpart' man8.install 'gptsync.8' end end end - - -__END__ -diff --git a/gptsync/Makefile.unix b/gptsync/Makefile.unix -index a1d7282..b0c3121 100644 ---- a/gptsync/Makefile.unix -+++ b/gptsync/Makefile.unix -@@ -20,7 +20,6 @@ LIBS = - - system = $(shell uname) - ifeq ($(system),Darwin) -- CC = gcc-4.0 - # TODO: re-enable this once the code is no longer little-endian specific - #CFLAGS += -arch i386 -arch ppc - #LDFLAGS += -arch i386 -arch ppc - |
