diff options
author | jlam <jlam@pkgsrc.org> | 2001-01-15 07:00:03 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-01-15 07:00:03 +0000 |
commit | 21b8faaeb9283fd3fe6ddbc7f65cf2c71e67c559 (patch) | |
tree | 3364aa1f4ef66d9e88b2595a7bb9567b2ab80bde /games | |
parent | ff695abc756f51087ee7a0eb1856af2d104533f8 (diff) | |
download | pkgsrc-21b8faaeb9283fd3fe6ddbc7f65cf2c71e67c559.tar.gz |
Allow generated code to execute on 386-class machines. People wanting to
optimize Crafty for i[456]86 can set CFLAGS appropriately in /etc/mk.conf.
Diffstat (limited to 'games')
-rw-r--r-- | games/crafty/files/patch-sum | 7 | ||||
-rw-r--r-- | games/crafty/patches/patch-aa | 49 |
2 files changed, 51 insertions, 5 deletions
diff --git a/games/crafty/files/patch-sum b/games/crafty/files/patch-sum index 90d57e9f64a..6cf42802446 100644 --- a/games/crafty/files/patch-sum +++ b/games/crafty/files/patch-sum @@ -1,6 +1,3 @@ -$NetBSD: patch-sum,v 1.2 2000/11/10 17:34:11 jlam Exp $ +$NetBSD: patch-sum,v 1.3 2001/01/15 07:00:03 jlam Exp $ -This placeholder file is generated by the ``makepatchsum'' target -whenever the patches directory is empty or missing. Its purpose -is to ensure that the presence of any obsolete patches will cause -the proper error to be emitted at build time. +MD5 (patch-aa) = c66ac63f151476a1179a01e8b40f35bd diff --git a/games/crafty/patches/patch-aa b/games/crafty/patches/patch-aa new file mode 100644 index 00000000000..125c7896631 --- /dev/null +++ b/games/crafty/patches/patch-aa @@ -0,0 +1,49 @@ +$NetBSD: patch-aa,v 1.3 2001/01/15 07:00:03 jlam Exp $ + +--- Makefile.orig Tue Dec 12 12:49:12 2000 ++++ Makefile +@@ -124,7 +124,7 @@ + dos: + $(MAKE) target=DOS \ + CC=gcc CXX='$$(CC)' \ +- CFLAGS='$(CFLAGS) -fomit-frame-pointer -m486 -O3' \ ++ CFLAGS='$(CFLAGS) -fomit-frame-pointer -O3' \ + LDFLAGS='$(LDFLAGS)' \ + opt='$(opt) -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \ + -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B' \ +@@ -134,7 +134,7 @@ + freebsd: + $(MAKE) target=FreeBSD \ + CC=gcc CXX='$$(CC)' \ +- CFLAGS='$(CFLAGS) -fomit-frame-pointer -m486 -O3 -Wall' \ ++ CFLAGS='$(CFLAGS) -fomit-frame-pointer -O3 -Wall' \ + LDFLAGS='$(LDFLAGS)' \ + opt='$(opt) -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \ + -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST' \ +@@ -240,7 +240,7 @@ + netbsd-i386: + $(MAKE) target=NetBSD \ + CC=gcc CXX=g++ \ +- CFLAGS='$(CFLAGS) -D_REENTRANT -O3 -Wall -m486 \ ++ CFLAGS='$(CFLAGS) -D_REENTRANT -O3 -Wall \ + -fomit-frame-pointer -funroll-all-loops \ + -finline-functions -ffast-math' \ + LDFLAGS='$(LDFLAGS)' \ +@@ -252,7 +252,7 @@ + netbsd-i386-elf: + $(MAKE) target=NetBSD \ + CC=gcc CXX=g++ \ +- CFLAGS='$(CFLAGS) -D_REENTRANT -O3 -Wall -m486 \ ++ CFLAGS='$(CFLAGS) -D_REENTRANT -O3 -Wall \ + -fomit-frame-pointer -funroll-all-loops \ + -finline-functions -ffast-math' \ + LDFLAGS='$(LDFLAGS)' \ +@@ -284,7 +284,7 @@ + os2: + $(MAKE) target=OS2 \ + CC=gcc CXX='$$(CC)' \ +- CFLAGS='$(CFLAGS) -fomit-frame-pointer -m486 -O3 -Wall' \ ++ CFLAGS='$(CFLAGS) -fomit-frame-pointer -O3 -Wall' \ + LDFLAGS='$(LDFLAGS) -Zexe -Zcrtdll -s' \ + opt='$(opt) -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \ + -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST' \ |