summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/corewars/Makefile1
-rw-r--r--games/corewars/files/patch-aa13
2 files changed, 12 insertions, 2 deletions
diff --git a/games/corewars/Makefile b/games/corewars/Makefile
index 74ea196491d4..70be1e7365c4 100644
--- a/games/corewars/Makefile
+++ b/games/corewars/Makefile
@@ -22,6 +22,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" \
GLIB_CONFIG="${GLIB_CONFIG}"
+MAKE_ENV= FREEBSD_CFLAGS="${CFLAGS}"
post-install:
@strip ${PREFIX}/bin/corewars
diff --git a/games/corewars/files/patch-aa b/games/corewars/files/patch-aa
index 4dd6d4da56a9..a0b661a443a8 100644
--- a/games/corewars/files/patch-aa
+++ b/games/corewars/files/patch-aa
@@ -1,5 +1,5 @@
---- src/Makefile.in.orig Sat Mar 4 18:12:42 2000
-+++ src/Makefile.in Sat Mar 4 18:12:55 2000
+--- src/Makefile.in.orig Fri Mar 3 13:37:26 2000
++++ src/Makefile.in Mon Mar 6 23:29:17 2000
@@ -95,7 +95,7 @@
AM_YFLAGS = -d -t
@@ -9,3 +9,12 @@
DEFS = @DEFS@ -DDATADIR="\"${pkgdatadir}\""
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = config.h
+@@ -113,7 +113,7 @@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LEXLIB = @LEXLIB@
+ CFLAGS = @CFLAGS@
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(FREEBSD_CFLAGS)
+ CCLD = $(CC)
+ LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
+ DIST_COMMON = ./stamp-h.in Makefile.am Makefile.in config.h.in lex.c \