2004-05-24 01:50:05 +02:00
|
|
|
$NetBSD: patch-aa,v 1.5 2004/05/23 23:50:05 kristerw Exp $
|
1998-08-07 12:35:47 +02:00
|
|
|
|
2003-04-27 20:23:28 +02:00
|
|
|
--- Imakefile.orig 1996-07-24 20:48:27.000000000 +0100
|
2001-12-11 15:49:50 +01:00
|
|
|
+++ Imakefile
|
2003-04-27 20:23:28 +02:00
|
|
|
@@ -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
|
2004-05-24 01:50:05 +02:00
|
|
|
+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
|
2003-04-27 20:23:28 +02:00
|
|
|
@@ -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\"
|
2001-12-11 15:49:50 +01:00
|
|
|
+ JIG_DEFAULT = \"${PREFIX}/lib/xjig/tina.gif\"
|
1998-04-23 11:03:43 +02:00
|
|
|
|
|
|
|
XCOMM #######################################################################
|
|
|
|
|
2003-04-27 20:23:28 +02:00
|
|
|
@@ -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 $@
|