spin 6.2.5
Closes Homebrew/homebrew#20179. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
5608f41b1c
commit
bae8a57bbc
1 changed files with 3 additions and 31 deletions
|
@ -2,19 +2,14 @@ require 'formula'
|
|||
|
||||
class Spin < Formula
|
||||
homepage 'http://spinroot.com/spin/whatispin.html'
|
||||
url 'http://spinroot.com/spin/Src/spin624.tar.gz'
|
||||
version '6.2.4'
|
||||
sha1 '980d47f26f8a0f5e191fc47c2240dc96f3dceab9'
|
||||
url 'http://spinroot.com/spin/Src/spin625.tar.gz'
|
||||
version '6.2.5'
|
||||
sha1 '6034126bccd7b08fc7ff06d81f69b5a0ada7644f'
|
||||
|
||||
fails_with :llvm do
|
||||
build 2334
|
||||
end
|
||||
|
||||
# replace -DPC with -DMAC in makefile CFLAGS
|
||||
def patches
|
||||
DATA
|
||||
end
|
||||
|
||||
def install
|
||||
ENV.deparallelize
|
||||
|
||||
|
@ -27,26 +22,3 @@ class Spin < Formula
|
|||
man1.install "Man/spin.1"
|
||||
end
|
||||
end
|
||||
|
||||
# manual patching is required by the spin install process
|
||||
__END__
|
||||
diff --git a/Src6.2.4/makefile b/Src6.2.4/makefile
|
||||
index 02d2a02..7687e0a 100644
|
||||
--- a/Src6.2.4/makefile
|
||||
+++ b/Src6.2.4/makefile
|
||||
@@ -13,12 +13,12 @@
|
||||
|
||||
# see also ./make_pc for a simpler script, not requiring make
|
||||
|
||||
-CC=gcc
|
||||
-CFLAGS=-O2 -DNXT # on some systems add: -I/usr/include
|
||||
+#CC=gcc
|
||||
+#CFLAGS=-O2 -DNXT # on some systems add: -I/usr/include
|
||||
|
||||
# CC=gcc -m32 # 32bit compilation on a 64bit system
|
||||
# for a more picky compilation use gcc-4 and:
|
||||
-# CFLAGS=-std=c99 -Wstrict-prototypes -pedantic -fno-strength-reduce -fno-builtin -W -Wshadow -Wpointer-arith -Wcast-qual -Winline -Wall -g -DNXT -DPC
|
||||
+CFLAGS=-std=c99 -Wstrict-prototypes -pedantic -fno-strength-reduce -fno-builtin -W -Wshadow -Wpointer-arith -Wcast-qual -Winline -Wall -g -DNXT -DMAC
|
||||
|
||||
# on OS2: spin -Picc -E/Pd+ -E/Q+
|
||||
# for Visual C++: spin -PCL -E/E
|
||||
|
|
Loading…
Reference in a new issue