diff options
author | kris <kris@FreeBSD.org> | 2002-08-23 13:14:50 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-08-23 13:14:50 +0800 |
commit | 9a257274ce012a7cf61be9db3b3c14b18c77b5b3 (patch) | |
tree | c4fa2580060299bde532107f30dccefb00392115 /games/cryptoslam | |
parent | 858396d7420f6f80858a8e4662338c055ebbaef7 (diff) | |
download | freebsd-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/cryptoslam')
-rw-r--r-- | games/cryptoslam/files/patch-Makefile | 17 |
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 $< + + |