aboutsummaryrefslogtreecommitdiff
path: root/games/xmemory
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-09-08 10:43:44 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-09-08 10:43:44 +0000
commite8035754624e157f54cd7dc03b0995ab0e103d3e (patch)
tree68dd80eeb95d0f2185c7c1b6166b6ee585d89b1b /games/xmemory
parentb2a7ffa557e166a30a966f2ec91a172ee7f3bee7 (diff)
downloadports-e8035754624e157f54cd7dc03b0995ab0e103d3e.tar.gz
ports-e8035754624e157f54cd7dc03b0995ab0e103d3e.zip
Fix build on -current (Build/link c++ code correctly)
Notes
Notes: svn path=/head/; revision=65836
Diffstat (limited to 'games/xmemory')
-rw-r--r--games/xmemory/files/patch-aa14
1 files changed, 10 insertions, 4 deletions
diff --git a/games/xmemory/files/patch-aa b/games/xmemory/files/patch-aa
index aa7e783b49df..0bcf8edc5e2f 100644
--- a/games/xmemory/files/patch-aa
+++ b/games/xmemory/files/patch-aa
@@ -1,6 +1,6 @@
---- Imakefile.orig Thu Jul 18 11:02:56 1996
-+++ Imakefile Sat Feb 7 22:15:55 1998
-@@ -8,7 +8,7 @@
+--- 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
@@ -9,13 +9,19 @@
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))
-+ComplexProgramTarget(xmemory)
++ComplexCplusplusProgramTarget(xmemory)
DependTarget()
CleanTarget()