summaryrefslogtreecommitdiff
path: root/games/xmemory/files/patch-Imakefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/xmemory/files/patch-Imakefile')
-rw-r--r--games/xmemory/files/patch-Imakefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/games/xmemory/files/patch-Imakefile b/games/xmemory/files/patch-Imakefile
new file mode 100644
index 000000000000..0bcf8edc5e2f
--- /dev/null
+++ b/games/xmemory/files/patch-Imakefile
@@ -0,0 +1,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()
+