diff options
author | minskim <minskim> | 2005-02-24 23:10:44 +0000 |
---|---|---|
committer | minskim <minskim> | 2005-02-24 23:10:44 +0000 |
commit | 7c6290d7cd22fdd8778d3630f8d30440b130b0ab (patch) | |
tree | f1987036ee80dd828216bc053903e66798de1031 /games/xdoom | |
parent | f24cfa3b6fc9ca3c19023200715f97e350835f11 (diff) | |
download | pkgsrc-7c6290d7cd22fdd8778d3630f8d30440b130b0ab.tar.gz |
Define "LINUX" on Linux. This fixes PR pkg/29489.
Diffstat (limited to 'games/xdoom')
-rw-r--r-- | games/xdoom/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/games/xdoom/Makefile b/games/xdoom/Makefile index b35a4d3cdcf..b0687f784f2 100644 --- a/games/xdoom/Makefile +++ b/games/xdoom/Makefile @@ -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_X11BASE= yes 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" |