1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00
freebsd-ports/games/xspacewarp/files/patch-ad
Ade Lovett fba7b30d45 Fix Imakefile breakage under XFree86 4.x
Respect CXX/CXXFLAGS

PR:		21977
Submitted by:	Ports Fury
2000-10-14 19:49:51 +00:00

24 lines
520 B
Plaintext

--- 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)