From a4ae2537d548838aac93f97a02dfb99cf72df1e6 Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Mon, 7 Feb 2000 00:53:21 +0000 Subject: Respect CC and CFLAGS --- games/doom/files/patch-ab | 18 +++++++++++++----- games/doom/files/patch-aj | 14 ++++++++++++++ 2 files changed, 27 insertions(+), 5 deletions(-) create mode 100644 games/doom/files/patch-aj (limited to 'games/doom') diff --git a/games/doom/files/patch-ab b/games/doom/files/patch-ab index 55f3865ba76c..ceed95110731 100644 --- a/games/doom/files/patch-ab +++ b/games/doom/files/patch-ab @@ -1,14 +1,22 @@ ---- linuxdoom-1.10/Makefile~ Mon Dec 22 20:55:36 1997 -+++ linuxdoom-1.10/Makefile Mon Dec 14 03:20:27 1998 -@@ -6,9 +6,9 @@ +--- linuxdoom-1.10/Makefile.orig Mon Dec 22 11:55:36 1997 ++++ linuxdoom-1.10/Makefile Sun Feb 6 16:26:51 2000 +@@ -4,11 +4,12 @@ # - CC= gcc # gcc or g++ + # $Log:$ + # +-CC= gcc # gcc or g++ ++CC?= gcc # gcc or g++ -CFLAGS=-g -Wall -DNORMALUNIX -DLINUX # -DUSEASM -+CFLAGS=-g -O -I/usr/X11R6/include -Wall -DNORMALUNIX -DSNDSERV -DSNDSRV # -DUSEASM ++CFLAGS?= -O ++CFLAGS+=-g -I/usr/X11R6/include -Wall -DNORMALUNIX -DSNDSERV -DSNDSRV # -DUSEASM LDFLAGS=-L/usr/X11R6/lib -LIBS=-lXext -lX11 -lnsl -lm +LIBS=-lXext -lX11 -lm # subdirectory for objects O=linux +@@ -92,4 +93,4 @@ + + ############################################################# + # diff --git a/games/doom/files/patch-aj b/games/doom/files/patch-aj new file mode 100644 index 000000000000..180c311c18e9 --- /dev/null +++ b/games/doom/files/patch-aj @@ -0,0 +1,14 @@ +--- sndserv/Makefile.orig Sun Feb 6 16:36:56 2000 ++++ sndserv/Makefile Sun Feb 6 16:37:13 2000 +@@ -6,8 +6,9 @@ + # + # + +-CC=gcc +-CFLAGS=-O -DNORMALUNIX -DLINUX ++CC?=gcc ++CFLAGS?=-O ++CFLAGS+=-DNORMALUNIX -DLINUX + LDFLAGS= + LIBS=-lm + -- cgit v1.2.3