summaryrefslogtreecommitdiff
path: root/games/xmemory/files/patch-aa
blob: 0bcf8edc5e2f98606c12d1c0851e33f130ccd8b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- Imakefile.orig	Thu Jul 18 08:02:56 1996
+++ Imakefile	Sun Sep  8 03:41:59 2002
@@ -8,12 +8,12 @@
 
 XCOMM where to search for data-files, when not found in current dir
 
-         XMEMORYDIR = \"/usr/games/lib/xmemory\"
+         XMEMORYDIR = \"${LIBDIR}/xmemory\"
 
 XCOMM set the compiler that you like,
 XCOMM gcc should suit, since the libraries are not needed.
 
-                CXX = gcc
+                CXX ?= c++
 
 XCOMM #######################################################################
 
@@ -29,8 +29,7 @@
 	$(RM) $@
 	$(CXX) -o $@ $(OBJS) $(LDOPTIONS) $(LOCAL_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
 
-InstallProgram(xmemory,$(BINDIR))
-InstallManPage(xmemory,$(MANDIR))
+ComplexCplusplusProgramTarget(xmemory)
 DependTarget()
 CleanTarget()