pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/zombies Fix build when scorefiles is not already...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/52c732b56864
branches:  trunk
changeset: 569045:52c732b56864
user:      abs <abs%pkgsrc.org@localhost>
date:      Mon Jan 04 20:55:52 2010 +0000

description:
Fix build when scorefiles is not already present on system (noticed
by joerg)

diffstat:

 games/zombies/Makefile         |  6 +++---
 games/zombies/PLIST            |  3 +--
 games/zombies/distinfo         |  4 ++--
 games/zombies/patches/patch-aa |  4 ++--
 4 files changed, 8 insertions(+), 9 deletions(-)

diffs (62 lines):

diff -r 4427e1cfe0b0 -r 52c732b56864 games/zombies/Makefile
--- a/games/zombies/Makefile    Mon Jan 04 20:46:40 2010 +0000
+++ b/games/zombies/Makefile    Mon Jan 04 20:55:52 2010 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2009/12/10 20:59:22 abs Exp $
+# $NetBSD: Makefile,v 1.15 2010/01/04 20:55:52 abs Exp $
 
 DISTNAME=      zombies-1.0
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    games
 MASTER_SITES=  http://www.thistledown.com.au/software/
 
@@ -20,7 +20,7 @@
 
 AUTO_MKDIRS=   yes
 BUILD_DEFS+=   VARBASE SCOREFILE
-MAKE_ENV+=     SCOREFILE=${SCOREFILE}
+MAKE_ENV+=     INSTALL_SCORE=echo SCOREFILE=${SCOREFILE}
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
diff -r 4427e1cfe0b0 -r 52c732b56864 games/zombies/PLIST
--- a/games/zombies/PLIST       Mon Jan 04 20:46:40 2010 +0000
+++ b/games/zombies/PLIST       Mon Jan 04 20:55:52 2010 +0000
@@ -1,4 +1,3 @@
-@comment $NetBSD: PLIST,v 1.3 2009/12/10 20:59:22 abs Exp $
+@comment $NetBSD: PLIST,v 1.4 2010/01/04 20:55:52 abs Exp $
 bin/zombies
 man/man6/zombies.6
-share/games/zombies_score.dist
diff -r 4427e1cfe0b0 -r 52c732b56864 games/zombies/distinfo
--- a/games/zombies/distinfo    Mon Jan 04 20:46:40 2010 +0000
+++ b/games/zombies/distinfo    Mon Jan 04 20:55:52 2010 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.9 2009/12/10 20:59:22 abs Exp $
+$NetBSD: distinfo,v 1.10 2010/01/04 20:55:52 abs 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) = 3a863f9cb1f2894c5a47133ab1ef97b790825553
+SHA1 (patch-aa) = 6e1efbe2def7c7328e7a7e8ceb3ffe6d5814e198
 SHA1 (patch-ab) = be8f4baf75ede5154a30617368651ca2df735574
diff -r 4427e1cfe0b0 -r 52c732b56864 games/zombies/patches/patch-aa
--- a/games/zombies/patches/patch-aa    Mon Jan 04 20:46:40 2010 +0000
+++ b/games/zombies/patches/patch-aa    Mon Jan 04 20:55:52 2010 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.6 2009/12/10 20:59:22 abs Exp $
+$NetBSD: patch-aa,v 1.7 2010/01/04 20:55:52 abs Exp $
 
 --- Makefile.orig      1999-06-26 14:37:17.000000000 +0000
 +++ Makefile
@@ -36,7 +36,7 @@
 -INSTALL_SCORE = install -c -o ${BINOWN} -g ${BINGRP} -m ${SCOREMODE}
 +INSTALL_PROG  = ${BSD_INSTALL_GAME}
 +INSTALL_MAN   = ${BSD_INSTALL_MAN}
-+INSTALL_SCORE = ${BSD_INSTALL_GAME_DATA}
++INSTALL_SCORE ?= ${BSD_INSTALL_GAME_DATA}
  
  # SysVish
  #INSTALL_PROG = install -u ${BINOWN} -g ${BINGRP} -m ${BINMODE}



Home | Main Index | Thread Index | Old Index