summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorcjep <cjep@pkgsrc.org>2003-04-27 18:23:28 +0000
committercjep <cjep@pkgsrc.org>2003-04-27 18:23:28 +0000
commitb03f64faa4d3b23cfc3b22ef9b44bab94f06a728 (patch)
treeceb2d35a44bcbb91f48cbddf73011de9bc11d214 /games
parent3cb4246cdb242390c7e5b90aa09f595bc44e7ec0 (diff)
downloadpkgsrc-b03f64faa4d3b23cfc3b22ef9b44bab94f06a728.tar.gz
Add explicit rules for building .C files. This makes the package
build on NetBSD/shark 1.6*
Diffstat (limited to 'games')
-rw-r--r--games/xjig/distinfo4
-rw-r--r--games/xjig/patches/patch-aa17
2 files changed, 15 insertions, 6 deletions
diff --git a/games/xjig/distinfo b/games/xjig/distinfo
index 4037eec7360..6107436ff43 100644
--- a/games/xjig/distinfo
+++ b/games/xjig/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2001/12/11 14:49:50 wiz Exp $
+$NetBSD: distinfo,v 1.4 2003/04/27 18:23:28 cjep Exp $
SHA1 (xjig-2.4.tgz) = 539ee5974d7228e69bb84de1424064f84cac7577
Size (xjig-2.4.tgz) = 124272 bytes
-SHA1 (patch-aa) = b451e2a980d6700512898eb3cf2c5ab7593f3644
+SHA1 (patch-aa) = 28704775e443cde790db3dbe7990e561e97d4147
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 $@