diff options
author | Chris Piazza <cpiazza@FreeBSD.org> | 2000-01-09 08:01:00 +0000 |
---|---|---|
committer | Chris Piazza <cpiazza@FreeBSD.org> | 2000-01-09 08:01:00 +0000 |
commit | 86fdc9cadaa5fbf26dfc0f4cd341319b915f4c5b (patch) | |
tree | 8dcccf1f564ad958e47e46c6c33d8086eec66952 /games/blackjack/files/patch-aa | |
parent | Update to dsniff 1.2 which now builds out of the box of FreeBSD. How's (diff) |
Fix for new compiler and respect CC/CXX/CXXFLAGS/CFLAGS
Notes
Notes:
svn path=/head/; revision=24582
Diffstat (limited to 'games/blackjack/files/patch-aa')
-rw-r--r-- | games/blackjack/files/patch-aa | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/games/blackjack/files/patch-aa b/games/blackjack/files/patch-aa index 17f9d6df8caa..64252af6cd78 100644 --- a/games/blackjack/files/patch-aa +++ b/games/blackjack/files/patch-aa @@ -1,11 +1,14 @@ ---- Makefile.orig Wed Feb 11 21:42:00 1998 -+++ Makefile Sun Sep 27 18:38:34 1998 -@@ -2,8 +2,11 @@ - CC=gcc - CXX=g++ - CFLAGS= +--- Makefile.orig Wed Feb 11 19:42:00 1998 ++++ Makefile Sat Jan 8 23:59:30 2000 +@@ -1,9 +1,11 @@ + +-CC=gcc +-CXX=g++ +-CFLAGS= -INCLUDES=-I$(QTDIR)/include -LDFLAGS=-L$(QTDIR)/lib -lqt ++CC?=gcc ++CXX?=g++ +INCLUDES=-I$(X11BASE)/include/X11/qt +LDFLAGS=-L$(X11BASE)/lib -lqt +.if $(PORTOBJFORMAT) == "elf" @@ -14,7 +17,7 @@ VERSION=1.1 # For systems that don't have install, use this -@@ -25,7 +28,7 @@ +@@ -25,7 +27,7 @@ blackjack/*.cpp \ blackjack/*.bm @@ -23,7 +26,7 @@ INSTALL_BIN_FLAGS=-s INSTALL_ROOT=/usr/local -@@ -39,12 +42,14 @@ +@@ -39,12 +41,14 @@ user_input.o dollar_scroll_bar.o bet_option.o table_option.o \ insurance_window.o $(METAOBJS) @@ -33,7 +36,8 @@ .SUFFIXES: .cpp .cpp.o: - $(CXX) -c $(CFLAGS) $(INCLUDES) $< +- $(CXX) -c $(CFLAGS) $(INCLUDES) $< ++ $(CXX) -c $(CXXFLAGS) $(INCLUDES) $< + +all: blackjack |