diff options
author | kris <kris@FreeBSD.org> | 2002-09-08 18:43:44 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-09-08 18:43:44 +0800 |
commit | f5d93cfc8f8d36e36d44f70a2b2156b0f24d0d43 (patch) | |
tree | 149d1443c57332a1b26f9b745b41fe849ccba5f0 /games | |
parent | af2a7c1cb6fbb97bb50e9b5479d29d6a3ba0ac12 (diff) | |
download | freebsd-ports-gnome-f5d93cfc8f8d36e36d44f70a2b2156b0f24d0d43.tar.gz freebsd-ports-gnome-f5d93cfc8f8d36e36d44f70a2b2156b0f24d0d43.tar.zst freebsd-ports-gnome-f5d93cfc8f8d36e36d44f70a2b2156b0f24d0d43.zip |
Fix build on -current (Build/link c++ code correctly)
Diffstat (limited to 'games')
-rw-r--r-- | games/xmemory/files/patch-aa | 14 |
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() |