aboutsummaryrefslogtreecommitdiffstats
path: root/games/xspacewarp/files
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2000-10-15 03:49:51 +0800
committerade <ade@FreeBSD.org>2000-10-15 03:49:51 +0800
commit0b665dcf8f0c16995a8169b9cfaa722650a8cec1 (patch)
treee0e5928036336f013da2f7e6b86179e3dc5f4219 /games/xspacewarp/files
parentdd6c9792c3ceaba29351e57eaa0cfd3d14156cbd (diff)
downloadfreebsd-ports-gnome-0b665dcf8f0c16995a8169b9cfaa722650a8cec1.tar.gz
freebsd-ports-gnome-0b665dcf8f0c16995a8169b9cfaa722650a8cec1.tar.zst
freebsd-ports-gnome-0b665dcf8f0c16995a8169b9cfaa722650a8cec1.zip
Fix Imakefile breakage under XFree86 4.x
Respect CXX/CXXFLAGS PR: 21977 Submitted by: Ports Fury
Diffstat (limited to 'games/xspacewarp/files')
-rw-r--r--games/xspacewarp/files/patch-ad23
1 files changed, 23 insertions, 0 deletions
diff --git a/games/xspacewarp/files/patch-ad b/games/xspacewarp/files/patch-ad
new file mode 100644
index 000000000000..868ed09b5d2f
--- /dev/null
+++ b/games/xspacewarp/files/patch-ad
@@ -0,0 +1,23 @@
+--- Imakefile.orig Fri Dec 29 16:39:19 1995
++++ Imakefile Sat Oct 14 06:14:22 2000
+@@ -2,12 +2,7 @@
+
+ XCOMM Use the C++ compiler of your choice.
+
+-CC = g++
+-
+-XCOMM Suffix rule for ".cc" files
+-
+-.cc.o:
+- $(CC) $(CFLAGS) -c $<
++CC = $(CXX)
+
+ LOCAL_LIBRARIES = XawClientLibs
+ SYS_LIBRARIES = -lm
+@@ -26,4 +21,5 @@
+ draw_summary.o draw_intro.o draw_mission.o draw_orientation.o \
+ draw_winlose.o
+
+-ComplexProgramTarget(xspacewarp)
++ComplexProgramTargetNoMan(xspacewarp)
++InstallAppDefaults(XSpacewarp)