pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/zombies Use optimisation flags from now on



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0eb9c4d5b710
branches:  trunk
changeset: 490351:0eb9c4d5b710
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Mar 07 15:09:59 2005 +0000

description:
Use optimisation flags from now on

diffstat:

 games/zombies/Makefile         |  17 +++++++++--------
 games/zombies/distinfo         |   4 ++--
 games/zombies/patches/patch-aa |  36 ++++++++++++++----------------------
 3 files changed, 25 insertions(+), 32 deletions(-)

diffs (99 lines):

diff -r 7854d6d6b28a -r 0eb9c4d5b710 games/zombies/Makefile
--- a/games/zombies/Makefile    Mon Mar 07 15:00:13 2005 +0000
+++ b/games/zombies/Makefile    Mon Mar 07 15:09:59 2005 +0000
@@ -1,15 +1,16 @@
-# $NetBSD: Makefile,v 1.5 2004/10/03 00:14:47 tv Exp $
+# $NetBSD: Makefile,v 1.6 2005/03/07 15:11:26 adam Exp $
 
-DISTNAME=              zombies-1.0
+DISTNAME=      zombies-1.0
 PKGREVISION=   1
-CATEGORIES=            games
-MASTER_SITES=          http://www.thistledown.com.au/software/ \
-                       ftp://melanoma.cs.rmit.edu.au/pub/simonb/
+CATEGORIES=    games
+MASTER_SITES=  http://www.thistledown.com.au/software/ \
+               ftp://melanoma.cs.rmit.edu.au/pub/simonb/
 
-MAINTAINER=            simonb%NetBSD.org@localhost
-COMMENT=               Simple robots-like game where you destroy the zombies
+MAINTAINER=    simonb%NetBSD.org@localhost
+HOMEPAGE=      http://www.thistledown.com.au/software/
+COMMENT=       Simple robots-like game where you destroy the zombies
 
-USE_BUILDLINK3=                YES
+USE_BUILDLINK3=                yes
 
 .include "../../mk/curses.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 7854d6d6b28a -r 0eb9c4d5b710 games/zombies/distinfo
--- a/games/zombies/distinfo    Mon Mar 07 15:00:13 2005 +0000
+++ b/games/zombies/distinfo    Mon Mar 07 15:09:59 2005 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.6 2005/02/23 23:12:05 agc Exp $
+$NetBSD: distinfo,v 1.7 2005/03/07 15:09:59 adam Exp $
 
 SHA1 (zombies-1.0.tar.gz) = 5bc4c87211b5aa29edffb7df74ee12c0bbdc408a
 RMD160 (zombies-1.0.tar.gz) = 006fcb8876f6712178ae7486b15c6a27de6270ee
 Size (zombies-1.0.tar.gz) = 9482 bytes
-SHA1 (patch-aa) = 8677087f846ebe32844c94ec1b3d601377f8ee62
+SHA1 (patch-aa) = 6bfb7789473d7395f844e66fdfd7f226f0511542
 SHA1 (patch-ab) = c17689d0b97e48e8d75c696809a77cf9664bcc4e
diff -r 7854d6d6b28a -r 0eb9c4d5b710 games/zombies/patches/patch-aa
--- a/games/zombies/patches/patch-aa    Mon Mar 07 15:00:13 2005 +0000
+++ b/games/zombies/patches/patch-aa    Mon Mar 07 15:09:59 2005 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.3 2004/08/04 02:57:56 jschauma Exp $
+$NetBSD: patch-aa,v 1.4 2005/03/07 15:09:59 adam Exp $
 
---- Makefile.orig      1999-06-26 10:37:17.000000000 -0400
-+++ Makefile   2004-07-31 12:23:34.000000000 -0400
+--- Makefile.orig      1999-06-26 14:37:17.000000000 +0000
++++ Makefile
 @@ -3,16 +3,16 @@
  
  # ---- FILE LOCATIONS ----
@@ -26,24 +26,7 @@
  SCOREMODE     = 664
  
  # ---- COMPILER OPTIONS ----
-@@ -23,11 +23,11 @@
- #CC           = cc
- 
- # For gcc with all sorts of checks
--FLAGS         = -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes \
--                -Wpointer-arith -Wreturn-type -Wcomment -Waggregate-return \
--                -Wunused -Wbad-function-cast -Wcast-align -Wcast-qual \
--                -Wchar-subscripts -Winline -Wmissing-declarations \
--                -Wpointer-arith -Wshadow
-+#FLAGS                = -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes \
-+#               -Wpointer-arith -Wreturn-type -Wcomment -Waggregate-return \
-+#               -Wunused -Wbad-function-cast -Wcast-align -Wcast-qual \
-+#               -Wchar-subscripts -Winline -Wmissing-declarations \
-+#               -Wpointer-arith -Wshadow
- # For almost everything else
- #FLAGS                = -O2
- 
-@@ -49,9 +49,9 @@
+@@ -49,9 +49,9 @@ LIBS         = -lcurses -ltermcap
  # ---- INSTALLATION PROGRAMS ----
  
  # BSDish
@@ -56,7 +39,16 @@
  
  # SysVish
  #INSTALL_PROG = install -u ${BINOWN} -g ${BINGRP} -m ${BINMODE}
-@@ -77,6 +77,7 @@
+@@ -65,7 +65,7 @@ SRCS         = level.c main.c misc.c move.c sco
+ HDRS          = zombies.h
+ MAN           = zombies.6
+ OBJS          = ${SRCS:.c=.o}
+-CFLAGS                = $(FLAGS) $(DEFS) -DSCORE_FILE=\"${SCOREFILE}\"
++CFLAGS                += $(DEFS) -DSCORE_FILE=\"${SCOREFILE}\"
+ 
+ all:          $(PROG)
+ 
+@@ -77,6 +77,7 @@ ${OBJS}:     ${HDRS}
  install:      ${PROG}
                ${INSTALL_PROG} ${PROG} ${BINDIR}
                ${INSTALL_MAN} ${MAN} ${MANDIR}



Home | Main Index | Thread Index | Old Index