diff options
author | wiz <wiz@pkgsrc.org> | 2000-02-14 02:44:31 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2000-02-14 02:44:31 +0000 |
commit | 281084befdfbd8e8f11a38af97e85891ce033c9d (patch) | |
tree | d2b8fd4b85bd3f4ac7bb5222040358f42d165e83 /emulators/darcnes/Makefile | |
parent | 0e93cebe61b849616ffa5dcb3ca1dfe1e2f93dc6 (diff) | |
download | pkgsrc-281084befdfbd8e8f11a38af97e85891ce033c9d.tar.gz |
First try at making darcnes work on non-i386-platforms
Diffstat (limited to 'emulators/darcnes/Makefile')
-rw-r--r-- | emulators/darcnes/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/emulators/darcnes/Makefile b/emulators/darcnes/Makefile index e5e718ffb21..ccc34a0cfec 100644 --- a/emulators/darcnes/Makefile +++ b/emulators/darcnes/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2000/02/14 01:42:25 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2000/02/14 02:44:31 wiz Exp $ DISTNAME= dn9a0212 PKGNAME= darcnes-20000212 @@ -14,7 +14,7 @@ USE_X11= yes USE_GMAKE= yes # make dependencies -do-configure: +post-patch: cd ${WRKSRC} && ${GMAKE} do-install: @@ -27,3 +27,9 @@ do-install: .if ( ${OBJECT_FMT} == "a.out" ) MAKE_FLAGS+= ASM_FLAGS=-DASM_UNDERBARS .endif + +.if ( ${MACHINE_ARCH} == "i386" ) +MAKE_FLAGS+= MACH_TYPES=-DMACH_TYPES=\\\"types-i386.h\\\" +.else +MAKE_FLAGS+= C_ONLY=-DC_ONLY +.endif |