summaryrefslogtreecommitdiff
path: root/games/liquidwar
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-06-20 08:35:46 +0000
committerjlam <jlam@pkgsrc.org>2005-06-20 08:35:46 +0000
commit88528a2dfdac50403733620be8597c1cbe08057f (patch)
tree35179d05f87646f975a8d0e55e6a1290d9415963 /games/liquidwar
parentfdba4eba2263ca902a83136e2c9a0caed78e0fc0 (diff)
downloadpkgsrc-88528a2dfdac50403733620be8597c1cbe08057f.tar.gz
The world does not only use GCC on Intel-based machines. Don't hardcode
"-mcpu=<cpu>" into the compiler options. This should allow this package to build on platforms that GCC does not yet recognize as a cpu-type for which it can optimize, e.g "x86_64".
Diffstat (limited to 'games/liquidwar')
-rw-r--r--games/liquidwar/distinfo3
-rw-r--r--games/liquidwar/patches/patch-ab13
2 files changed, 15 insertions, 1 deletions
diff --git a/games/liquidwar/distinfo b/games/liquidwar/distinfo
index a5fa9a41c02..52fb6f56483 100644
--- a/games/liquidwar/distinfo
+++ b/games/liquidwar/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/06/04 11:18:12 wiz Exp $
+$NetBSD: distinfo,v 1.2 2005/06/20 08:35:46 jlam Exp $
SHA1 (liquidwar-5.6.2.tar.gz) = 582ca26c507ea1fd79b247865142112d5ecfb0b1
RMD160 (liquidwar-5.6.2.tar.gz) = 37042373804a9b93db3b0fbf64d103f801573c85
Size (liquidwar-5.6.2.tar.gz) = 2973938 bytes
SHA1 (patch-aa) = 8ab0797d73025b9c66f9b8e334271a7dc2cb547d
+SHA1 (patch-ab) = effe830c3750d33bc7700aa817de05745166d541
diff --git a/games/liquidwar/patches/patch-ab b/games/liquidwar/patches/patch-ab
new file mode 100644
index 00000000000..b6afdb03cf4
--- /dev/null
+++ b/games/liquidwar/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2005/06/20 08:35:47 jlam Exp $
+
+--- src/Makefile.in.orig 2004-02-11 15:43:58.000000000 -0500
++++ src/Makefile.in
+@@ -19,7 +19,7 @@ PTHREAD = @PTHREAD@
+ ifeq ($(TARGET_OPT),yes)
+ TARGET = @target@
+ TARGET_CPU = @target_cpu@
+- TARGET_CPU_CC = "-mcpu=@target_cpu@"
++ TARGET_CPU_CC =
+ else
+ TARGET = default
+ TARGET_CPU = default