diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-19 12:43:02 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-19 12:43:02 +0000 |
commit | 1201eece7ff5bf459fe33ae4622c0971d3b56703 (patch) | |
tree | 02440c15253e75187c107ac760285f4a31e582e9 /lang | |
parent | a6811a618f6cd9d263f7ce93cfde713b98d1c77b (diff) | |
download | ports-1201eece7ff5bf459fe33ae4622c0971d3b56703.tar.gz ports-1201eece7ff5bf459fe33ae4622c0971d3b56703.zip |
Notes
Diffstat (limited to 'lang')
-rw-r--r-- | lang/nqc/Makefile | 1 | ||||
-rw-r--r-- | lang/nqc/files/patch-aa | 28 |
2 files changed, 26 insertions, 3 deletions
diff --git a/lang/nqc/Makefile b/lang/nqc/Makefile index 8815a6b2755e..9830c9fd3eab 100644 --- a/lang/nqc/Makefile +++ b/lang/nqc/Makefile @@ -14,6 +14,7 @@ EXTRACT_SUFX= .tgz MAINTAINER= kbyanc@FreeBSD.org USE_GMAKE= yes +CC= ${CXX} MAN1= nqc.1 diff --git a/lang/nqc/files/patch-aa b/lang/nqc/files/patch-aa index 7abd91e34a20..6f12464af46c 100644 --- a/lang/nqc/files/patch-aa +++ b/lang/nqc/files/patch-aa @@ -1,11 +1,11 @@ ---- Makefile.orig Sun Mar 24 14:34:39 2002 -+++ Makefile Fri Jun 7 11:11:05 2002 +--- Makefile.orig Sun Mar 24 23:34:39 2002 ++++ Makefile Tue Nov 19 13:35:48 2002 @@ -28,20 +28,20 @@ # # Pick your C++ compiler. # -CC=g++ -+CC?=g++ ++CXX?=${CXX} # CC=gcc # @@ -72,3 +72,25 @@ endif CFLAGS += -DDEFAULT_SERIAL_NAME='$(DEFAULT_SERIAL_NAME)' +@@ -139,10 +137,10 @@ + $(MKDIR) bin + + bin/nqc : compiler/parse.cpp $(OBJ) bin +- $(CC) -o $@ $(OBJ) $(LIBS) ++ $(CXX) -o $@ $(OBJ) $(LIBS) + + bin/mkdata : mkdata/mkdata.cpp nqc/SRecord.cpp bin +- $(CC) -o bin/mkdata -Inqc/ -Iplatform/ mkdata/mkdata.cpp nqc/SRecord.cpp ++ $(CXX) -o bin/mkdata -Inqc/ -Iplatform/ mkdata/mkdata.cpp nqc/SRecord.cpp + + # + # clean up stuff +@@ -202,7 +200,7 @@ + # general rule for compiling + # + .cpp.o: +- $(CC) -c $(CFLAGS) $< -o $*.o ++ $(CXX) -c $(CFLAGS) $< -o $*.o + + + # |