diff options
author | billf <billf@FreeBSD.org> | 2000-03-07 12:38:43 +0800 |
---|---|---|
committer | billf <billf@FreeBSD.org> | 2000-03-07 12:38:43 +0800 |
commit | d726465525fa8395e5e9f2a8770aad3e194d846a (patch) | |
tree | 23d3880b313ae3783c2a8e9bf94997344b01c704 /games | |
parent | 809844d373117bfe74546a3b010a0c20dc55c938 (diff) | |
download | freebsd-ports-gnome-d726465525fa8395e5e9f2a8770aad3e194d846a.tar.gz freebsd-ports-gnome-d726465525fa8395e5e9f2a8770aad3e194d846a.tar.zst freebsd-ports-gnome-d726465525fa8395e5e9f2a8770aad3e194d846a.zip |
Bruteforce bitchslap this port into respecting CFLAGS.
Approved by: jim
Diffstat (limited to 'games')
-rw-r--r-- | games/corewars/Makefile | 1 | ||||
-rw-r--r-- | games/corewars/files/patch-aa | 13 |
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 \ |