diff options
author | kris <kris@FreeBSD.org> | 2002-09-09 05:04:30 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-09-09 05:04:30 +0800 |
commit | 1a3da5004469f9844d0537e9f8eec3ad7fdbed2a (patch) | |
tree | d96a0ba526a7d38b63ea9678e085a08ab9138f4c /games | |
parent | 68bd8fbc377ab3e4507bd36655c135b6b7bdcf64 (diff) | |
download | freebsd-ports-gnome-1a3da5004469f9844d0537e9f8eec3ad7fdbed2a.tar.gz freebsd-ports-gnome-1a3da5004469f9844d0537e9f8eec3ad7fdbed2a.tar.zst freebsd-ports-gnome-1a3da5004469f9844d0537e9f8eec3ad7fdbed2a.zip |
Fix build on -current (build/link C++ code with ${CXX})
Diffstat (limited to 'games')
-rw-r--r-- | games/xjig/files/patch-aa | 57 |
1 files changed, 21 insertions, 36 deletions
diff --git a/games/xjig/files/patch-aa b/games/xjig/files/patch-aa index 94ce11ef4926..ed00fa812db4 100644 --- a/games/xjig/files/patch-aa +++ b/games/xjig/files/patch-aa @@ -1,36 +1,21 @@ -*** Makefile.Linux.orig Thu Jul 18 04:10:55 1996 ---- Makefile.Linux Wed Sep 17 03:51:48 1997 -*************** -*** 1,7 **** - - ### compiler section - CXX = gcc -Wall -fstrength-reduce -fpcc-struct-return -! CXXFLAGS = -g -DUSE_MIT_SHM - - ### default file to be used, when no options are set - ---- 1,7 ---- - - ### compiler section - CXX = gcc -Wall -fstrength-reduce -fpcc-struct-return -! CXXFLAGS += -DUSE_MIT_SHM -I${X_INCLUDE} - - ### default file to be used, when no options are set - -*************** LDFLAGS = -L$(XLIB_DIR) -*** 20,26 **** - .SUFFIXES: .C .o - - .C.o: -! $(CXX) -I$(X_INCLUDE) $(CXXFLAGS) -c $< - - LD = $(CXX) - ---- 20,26 ---- - .SUFFIXES: .C .o - - .C.o: -! $(CXX) $(CXXFLAGS) -c $< - - LD = $(CXX) - +--- Makefile.Linux.orig Wed Jul 17 13:10:55 1996 ++++ Makefile.Linux Sun Sep 8 14:02:00 2002 +@@ -1,7 +1,7 @@ + + ### compiler section +-CXX = gcc -Wall -fstrength-reduce -fpcc-struct-return +-CXXFLAGS = -g -DUSE_MIT_SHM ++CXX ?= c++ ++CXXFLAGS += -Wall -fstrength-reduce -fpcc-struct-return -DUSE_MIT_SHM -I${X_INCLUDE} + + ### default file to be used, when no options are set + +@@ -20,7 +20,7 @@ + .SUFFIXES: .C .o + + .C.o: +- $(CXX) -I$(X_INCLUDE) $(CXXFLAGS) -c $< ++ $(CXX) $(CXXFLAGS) -c $< + + LD = $(CXX) + |