pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/liquidwar The world does not only use GCC on Int...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8272136e2985
branches:  trunk
changeset: 495783:8272136e2985
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Mon Jun 20 08:35:46 2005 +0000

description:
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:

 games/liquidwar/distinfo         |   3 ++-
 games/liquidwar/patches/patch-ab |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r afcaf0e81e00 -r 8272136e2985 games/liquidwar/distinfo
--- a/games/liquidwar/distinfo  Mon Jun 20 08:08:55 2005 +0000
+++ b/games/liquidwar/distinfo  Mon Jun 20 08:35:46 2005 +0000
@@ -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 -r afcaf0e81e00 -r 8272136e2985 games/liquidwar/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/liquidwar/patches/patch-ab  Mon Jun 20 08:35:46 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index