aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-09-08 21:04:30 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-09-08 21:04:30 +0000
commitc494227445ddb63f0eba775e70fabfc00285f2ad (patch)
tree589451aefb2a0eaacb9d71c125dfb9c986364506
parent73219803340dfbae5c8b17f89f404717ba357e8a (diff)
downloadports-c494227445ddb63f0eba775e70fabfc00285f2ad.tar.gz
ports-c494227445ddb63f0eba775e70fabfc00285f2ad.zip
Notes
-rw-r--r--audio/xcd/files/patch-ab11
-rw-r--r--games/xjig/files/patch-aa57
2 files changed, 32 insertions, 36 deletions
diff --git a/audio/xcd/files/patch-ab b/audio/xcd/files/patch-ab
new file mode 100644
index 000000000000..58cf0557cc50
--- /dev/null
+++ b/audio/xcd/files/patch-ab
@@ -0,0 +1,11 @@
+--- Makefile.orig Mon Oct 26 16:14:26 1998
++++ Makefile Sun Sep 8 13:14:02 2002
+@@ -8,7 +8,7 @@
+ < xcd.in > $@
+ chmod ugo+x xcd
+ cdplayer: cdplayer.cc
+- $(CC) $(CFLAGS) -o $@ cdplayer.cc -lm
++ $(CXX) $(CXXFLAGS) -o $@ cdplayer.cc -lm
+
+ install: xcd cdplayer
+ mkdir -p $(BINDIR)
diff --git a/games/xjig/files/patch-aa b/games/xjig/files/patch-aa
index 94ce11ef4926..ed00fa812db4 100644
--- a/games/xjig/files/patch-aa
+++ b/games/xjig/files/patch-aa
@@ -1,36 +1,21 @@
-*** Makefile.Linux.orig Thu Jul 18 04:10:55 1996
---- Makefile.Linux Wed Sep 17 03:51:48 1997
-***************
-*** 1,7 ****
-
- ### compiler section
- CXX = gcc -Wall -fstrength-reduce -fpcc-struct-return
-! CXXFLAGS = -g -DUSE_MIT_SHM
-
- ### default file to be used, when no options are set
-
---- 1,7 ----
-
- ### compiler section
- CXX = gcc -Wall -fstrength-reduce -fpcc-struct-return
-! CXXFLAGS += -DUSE_MIT_SHM -I${X_INCLUDE}
-
- ### default file to be used, when no options are set
-
-*************** LDFLAGS = -L$(XLIB_DIR)
-*** 20,26 ****
- .SUFFIXES: .C .o
-
- .C.o:
-! $(CXX) -I$(X_INCLUDE) $(CXXFLAGS) -c $<
-
- LD = $(CXX)
-
---- 20,26 ----
- .SUFFIXES: .C .o
-
- .C.o:
-! $(CXX) $(CXXFLAGS) -c $<
-
- LD = $(CXX)
-
+--- Makefile.Linux.orig Wed Jul 17 13:10:55 1996
++++ Makefile.Linux Sun Sep 8 14:02:00 2002
+@@ -1,7 +1,7 @@
+
+ ### compiler section
+-CXX = gcc -Wall -fstrength-reduce -fpcc-struct-return
+-CXXFLAGS = -g -DUSE_MIT_SHM
++CXX ?= c++
++CXXFLAGS += -Wall -fstrength-reduce -fpcc-struct-return -DUSE_MIT_SHM -I${X_INCLUDE}
+
+ ### default file to be used, when no options are set
+
+@@ -20,7 +20,7 @@
+ .SUFFIXES: .C .o
+
+ .C.o:
+- $(CXX) -I$(X_INCLUDE) $(CXXFLAGS) -c $<
++ $(CXX) $(CXXFLAGS) -c $<
+
+ LD = $(CXX)
+