1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/games/flying/files/patch-aa
Edwin Groothuis 04708e08bf Update patch-files to build again on -current.
Noticed by: bento
2002-11-19 05:10:16 +00:00

29 lines
945 B
Plaintext

--- Imakefile.orig Tue Oct 3 16:01:36 1995
+++ Imakefile Tue Nov 19 06:08:52 2002
@@ -1,6 +1,6 @@
XCOMM ##### where to put temporary data and pixmap files ...
-DATA_DIRECTORY = \"/tmp\"
+DATA_DIRECTORY = \"/dev/null\"
XCOMM ##### parameter type of the system call select(), which usually is
XCOMM ##### fd_set, but at least on HP-UX, it is int ... I am still
@@ -12,7 +12,7 @@
XCOMM ##### There is an optimization bug in gcc-2.7.0. Therefore the CXX_NOOPT
XCOMM ##### macro should be set when using gcc-2.7.0 to create target
XCOMM ##### pball.o without optimization
-CXX = gcc
+CXX = g++
XCOMM # CXX_NOOPT = -O0
XCOMM #######################################################################
@@ -30,7 +30,7 @@
CCOPTIONS = #-Wall -g
LOCAL_LIBRARIES = -lX11 -lm
-
+all:: flying
flying: $(OBJS) $(DEPLIBS)
$(RM) $@
$(CXX) -o $@ $(OBJS) $(LDOPTIONS) $(LOCAL_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS)