openbsd-ports/games/xjig/patches/patch-aa

27 lines
703 B
Plaintext
Raw Normal View History

--- Makefile.Linux.orig Wed Jul 17 16:10:55 1996
+++ Makefile.Linux Sat Oct 2 17:35:30 1999
@@ -1,11 +1,11 @@
### compiler section
-CXX = gcc -Wall -fstrength-reduce -fpcc-struct-return
-CXXFLAGS = -g -DUSE_MIT_SHM
+#CXX = gcc -Wall -fstrength-reduce -fpcc-struct-return
+CXXFLAGS += -Wall -fstrength-reduce -fpcc-struct-return -DUSE_MIT_SHM -I${X_INCLUDE}
### default file to be used, when no options are set
-JIG_DEFAULT = \"tina.gif\"
+JIG_DEFAULT = \"${PREFIX}/share/xjig/tina.gif\"
### Directories for include files of X11 and libraries
@@ -20,7 +20,7 @@
.SUFFIXES: .C .o
.C.o:
- $(CXX) -I$(X_INCLUDE) $(CXXFLAGS) -c $<
+ $(CXX) $(CXXFLAGS) -c $<
LD = $(CXX)