pkgsrc/games/xjig/patches/patch-aa

32 lines
1,016 B
Text
Raw Normal View History

$NetBSD: patch-aa,v 1.5 2004/05/23 23:50:05 kristerw Exp $
1998-08-07 12:35:47 +02:00
--- Imakefile.orig 1996-07-24 20:48:27.000000000 +0100
+++ Imakefile
@@ -8,7 +8,7 @@ XCOMM with the optimize-options on gcc-2
1998-04-23 11:03:43 +02:00
XCOMM optimization on your version, but if it doesn't work, a compiler bug
XCOMM might be the reason...
-XCOMM CXX = gcc -g
+CXX = g++ -O5 -I${X11BASE}/include
1998-04-23 11:03:43 +02:00
XCOMM On some machines (like on linux) you can gain speed by using the
XCOMM MIT-SHM extension for transfering images to the server via shared
@@ -27,7 +27,7 @@ XCOMM RANG_CHECK = -DRANGE_CHECK
1998-04-23 11:03:43 +02:00
XCOMM which default file should be loaded if no option is set
- JIG_DEFAULT = \"tina.gif\"
+ JIG_DEFAULT = \"${PREFIX}/lib/xjig/tina.gif\"
1998-04-23 11:03:43 +02:00
XCOMM #######################################################################
@@ -58,5 +58,6 @@ CleanTarget()
xjig.o:
$(CXX) $(CXXFLAGS) -DJIG_DEFAULT=$(JIG_DEFAULT) -c xjig.C -o $@
-XCOMM .C.o:
-XCOMM $(CXX) $(CFLAGS) -c $< -o $@
+.SUFFIXES: .C
+.C.o:
+ $(CXX) $(CXXFLAGS) -c $< -o $@