diff options
Diffstat (limited to 'games/xjig/files/patch-Makefile.Linux')
-rw-r--r-- | games/xjig/files/patch-Makefile.Linux | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/games/xjig/files/patch-Makefile.Linux b/games/xjig/files/patch-Makefile.Linux new file mode 100644 index 000000000000..8f8f62c14458 --- /dev/null +++ b/games/xjig/files/patch-Makefile.Linux @@ -0,0 +1,33 @@ +--- Makefile.Linux.orig Wed Jul 17 22:10:55 1996 ++++ Makefile.Linux Fri Nov 24 16:10:03 2006 +@@ -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 + +@@ -9,9 +9,9 @@ + + ### Directories for include files of X11 and libraries + +-X_INCLUDE = /usr/X11R6/include ++X_INCLUDE = $(LOCALBASE)/include + +-XLIB_DIR = /usr/X11R6/lib ++XLIB_DIR = $(LOCALBASE)/lib + + ################################################################### + +@@ -20,7 +20,7 @@ + .SUFFIXES: .C .o + + .C.o: +- $(CXX) -I$(X_INCLUDE) $(CXXFLAGS) -c $< ++ $(CXX) $(CXXFLAGS) -c $< + + LD = $(CXX) + |