summaryrefslogtreecommitdiff
path: root/games/xjig/patches
diff options
context:
space:
mode:
authorcjep <cjep>2003-04-27 18:23:28 +0000
committercjep <cjep>2003-04-27 18:23:28 +0000
commit95556f9645a9aa458c63c8ab7e36a41335977e45 (patch)
treeceb2d35a44bcbb91f48cbddf73011de9bc11d214 /games/xjig/patches
parentc0b8ea00f86ab6ce5aa2e08cf4d981b4a339f038 (diff)
downloadpkgsrc-95556f9645a9aa458c63c8ab7e36a41335977e45.tar.gz
Add explicit rules for building .C files. This makes the package
build on NetBSD/shark 1.6*
Diffstat (limited to 'games/xjig/patches')
-rw-r--r--games/xjig/patches/patch-aa17
1 files changed, 13 insertions, 4 deletions
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 $@