summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emulators/generator/Makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/emulators/generator/Makefile b/emulators/generator/Makefile
index 2bf64778260..aab8bd0ba74 100644
--- a/emulators/generator/Makefile
+++ b/emulators/generator/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2002/08/27 18:32:13 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2003/03/07 08:47:06 jmc Exp $
#
DISTNAME= generator-0.34
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= emulators
MASTER_SITES= http://www.squish.net/generator/files/
@@ -13,7 +13,19 @@ COMMENT= Sega Mega drive genesis emulator
USE_BUILDLINK2= # defined
USE_X11= # defined
GNU_CONFIGURE= # defined
+
+.if (${MACHINE_ARCH} == "i386")
CONFIGURE_ARGS+= --with-gtk --with-raze
+.else
+CONFIGURE_ARGS+= --with-gtk --with-cmz80
+.endif
+
+.include "../../mk/endian.mk"
+
+.if ${MACHINE_ENDIAN} == "big"
+CFLAGS+= -DBYTES_HIGHFIRST
+.endif
+
.include "../../devel/SDL/buildlink2.mk"
.include "../../x11/gtk/buildlink2.mk"