diff options
author | minskim <minskim@pkgsrc.org> | 2005-02-24 23:07:34 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-02-24 23:07:34 +0000 |
commit | cb4bea4014625c9da120f648733477596723616b (patch) | |
tree | a3533cc261c422eb1a44ee3f50117f0bbecf6798 /games/xdoom/Makefile | |
parent | e06ff261ccb5bd19c190d8f963a2bbaed164ffb5 (diff) | |
download | pkgsrc-cb4bea4014625c9da120f648733477596723616b.tar.gz |
Use endian.mk instead of patching source code.
Diffstat (limited to 'games/xdoom/Makefile')
-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 d515cc3c43d..b35a4d3cdcf 100644 --- a/games/xdoom/Makefile +++ b/games/xdoom/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2005/02/24 22:43:33 minskim Exp $ +# $NetBSD: Makefile,v 1.23 2005/02/24 23:07:34 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/endian.mk" + +.if ${MACHINE_ENDIAN} == "big" +CFLAGS+= -D__BIG_ENDIAN__=1 +.endif + .include "../../mk/ossaudio.buildlink3.mk" post-extract: |