summaryrefslogtreecommitdiff
path: root/emulators/hercules/Makefile
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2001-05-08 23:23:49 +0000
committerdmcmahill <dmcmahill>2001-05-08 23:23:49 +0000
commitd48d4555cc72784d1d504b300cd58b7f04fbac39 (patch)
tree02820d6c87fdcc48fb30a53b68ac4c7927477886 /emulators/hercules/Makefile
parent760bfe99f123da3299be5e92345fdf256aa704df (diff)
downloadpkgsrc-d48d4555cc72784d1d504b300cd58b7f04fbac39.tar.gz
get hercules to compile on non-i386 by not using i386 assembly code
on those platforms. Also remove a zillion warnings by surrounding the i386 specific "regparm" attribute by #ifdef __i386__ only minimal testing done on an alpha. Hercules starts up and lets me run "quit".
Diffstat (limited to 'emulators/hercules/Makefile')
-rw-r--r--emulators/hercules/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/emulators/hercules/Makefile b/emulators/hercules/Makefile
index c710908310f..b08f8b31af2 100644
--- a/emulators/hercules/Makefile
+++ b/emulators/hercules/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2001/03/23 16:20:55 agc Exp $
+# $NetBSD: Makefile,v 1.7 2001/05/08 23:23:49 dmcmahill Exp $
DISTNAME= hercules-2.11
PKGNAME= ${DISTNAME}nb1
@@ -14,6 +14,7 @@ DEPENDS+= hercules-images-*:../../emulators/hercules-images
USE_GMAKE= yes
MAKEFILE= makefile
+MAKE_ENV+= HOST_ARCH=${MACHINE_ARCH}
pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/hercules