pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/xdoom Define "LINUX" on Linux. This fixes PR pk...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4d268f0e66b2
branches:  trunk
changeset: 489698:4d268f0e66b2
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Thu Feb 24 23:10:44 2005 +0000

description:
Define "LINUX" on Linux.  This fixes PR pkg/29489.

diffstat:

 games/xdoom/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 6d51c04748a3 -r 4d268f0e66b2 games/xdoom/Makefile
--- a/games/xdoom/Makefile      Thu Feb 24 23:07:34 2005 +0000
+++ b/games/xdoom/Makefile      Thu Feb 24 23:10:44 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2005/02/24 23:07:34 minskim Exp $
+# $NetBSD: Makefile,v 1.24 2005/02/24 23:10:44 minskim Exp $
 
 DISTNAME=      linuxdoom-1.10
 PKGNAME=       xdoom-1.10
@@ -24,6 +24,12 @@
 USE_GNU_TOOLS+=        make
 MAKE_ENV+=     X11BASE=${X11BASE} INSTALL_PREFIX=${X11PREFIX}
 
+.include "../../mk/bsd.prefs.mk"
+
+.ifdef ${OPSYS} == "Linux"
+CFLAGS+=       -DLINUX
+.endif
+
 .include "../../mk/endian.mk"
 
 .if ${MACHINE_ENDIAN} == "big"



Home | Main Index | Thread Index | Old Index