pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/digger Add possible fix to make this build on Li...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/67a130ca1bc2
branches:  trunk
changeset: 491356:67a130ca1bc2
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Mar 23 14:31:26 2005 +0000

description:
Add possible fix to make this build on Linux.
Addresses PR 29384.

diffstat:

 games/digger/Makefile |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r bd4046e3b21f -r 67a130ca1bc2 games/digger/Makefile
--- a/games/digger/Makefile     Wed Mar 23 14:02:52 2005 +0000
+++ b/games/digger/Makefile     Wed Mar 23 14:31:26 2005 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2004/10/03 00:14:43 tv Exp $
+# $NetBSD: Makefile,v 1.4 2005/03/23 14:31:26 wiz Exp $
 #
 
 DISTNAME=              digger-20020314
-PKGREVISION=   1
+PKGREVISION=           1
 CATEGORIES=            games
 MASTER_SITES=          http://www.digger.org/
 
@@ -12,7 +12,13 @@
 
 USE_BUILDLINK3=                yes
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS:MLinux}
+MAKEFILE=              Makefile.sdl
+.else
 MAKEFILE=              Makefile.fbsd
+.endif
 MAKE_FLAGS+=           -DSDL
 
 do-install:



Home | Main Index | Thread Index | Old Index