openbsd-ports/games/xjig/patches/patch-aa
brad 32a1a9f3fd - repsect CXX and CXXFLAGS
- convert patch to unified diff
- install sample image
1999-10-02 21:48:27 +00:00

27 lines
703 B
Plaintext

--- 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)