aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-08-23 13:14:50 +0800
committerkris <kris@FreeBSD.org>2002-08-23 13:14:50 +0800
commit9a257274ce012a7cf61be9db3b3c14b18c77b5b3 (patch)
treec4fa2580060299bde532107f30dccefb00392115 /games
parent858396d7420f6f80858a8e4662338c055ebbaef7 (diff)
downloadfreebsd-ports-gnome-9a257274ce012a7cf61be9db3b3c14b18c77b5b3.tar.gz
freebsd-ports-gnome-9a257274ce012a7cf61be9db3b3c14b18c77b5b3.tar.zst
freebsd-ports-gnome-9a257274ce012a7cf61be9db3b3c14b18c77b5b3.zip
Respect CXX and CXXFLAGS, and link with CXX, not gcc.
Diffstat (limited to 'games')
-rw-r--r--games/cryptoslam/files/patch-Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/games/cryptoslam/files/patch-Makefile b/games/cryptoslam/files/patch-Makefile
new file mode 100644
index 000000000000..8893734e20fe
--- /dev/null
+++ b/games/cryptoslam/files/patch-Makefile
@@ -0,0 +1,17 @@
+--- Makefile.orig Thu Aug 22 22:12:38 2002
++++ Makefile Thu Aug 22 22:13:36 2002
+@@ -12,12 +12,12 @@
+ all: cryptoslam
+
+ cryptoslam: $(O_FILES)
+- gcc -o cryptoslam $(LIB_FLAGS) $(O_FILES)
++ ${CXX} -o cryptoslam $(LIB_FLAGS) $(O_FILES)
+
+ clean:
+ rm -f cryptoslam core tmp.tmp *.o
+
+ %.o: %.c
+- gcc $(CFLAGS) $(INCLUDE_FLAGS) -c $<
++ ${CXX} $(CXXFLAGS) $(INCLUDE_FLAGS) -c $<
+
+