From 95556f9645a9aa458c63c8ab7e36a41335977e45 Mon Sep 17 00:00:00 2001 From: cjep Date: Sun, 27 Apr 2003 18:23:28 +0000 Subject: Add explicit rules for building .C files. This makes the package build on NetBSD/shark 1.6* --- games/xjig/patches/patch-aa | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'games/xjig/patches') diff --git a/games/xjig/patches/patch-aa b/games/xjig/patches/patch-aa index 8bfe766775a..e2ce0a5b792 100644 --- a/games/xjig/patches/patch-aa +++ b/games/xjig/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.3 2001/12/11 14:49:51 wiz Exp $ +$NetBSD: patch-aa,v 1.4 2003/04/27 18:23:28 cjep Exp $ ---- Imakefile.orig Wed Jul 24 21:48:27 1996 +--- Imakefile.orig 1996-07-24 20:48:27.000000000 +0100 +++ Imakefile -@@ -8,7 +8,7 @@ +@@ -8,7 +8,7 @@ XCOMM with the optimize-options on gcc-2 XCOMM optimization on your version, but if it doesn't work, a compiler bug XCOMM might be the reason... @@ -11,7 +11,7 @@ $NetBSD: patch-aa,v 1.3 2001/12/11 14:49:51 wiz Exp $ 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 @@ +@@ -27,7 +27,7 @@ XCOMM RANG_CHECK = -DRANGE_CHECK XCOMM which default file should be loaded if no option is set @@ -20,3 +20,12 @@ $NetBSD: patch-aa,v 1.3 2001/12/11 14:49:51 wiz Exp $ 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 $@ -- cgit v1.2.3