diff options
author | edwin <edwin@FreeBSD.org> | 2002-11-19 20:43:02 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2002-11-19 20:43:02 +0800 |
commit | be4fa378a26e85c2f7f1041d32c51921bfcb3659 (patch) | |
tree | bef66e7c3e350300c5b735876e3474427a452ece /lang | |
parent | bf0c03459352be6a336e82b0e95a9426488652cc (diff) | |
download | freebsd-ports-gnome-be4fa378a26e85c2f7f1041d32c51921bfcb3659.tar.gz freebsd-ports-gnome-be4fa378a26e85c2f7f1041d32c51921bfcb3659.tar.zst freebsd-ports-gnome-be4fa378a26e85c2f7f1041d32c51921bfcb3659.zip |
(at least it compiles again, but it's still full of the gcc 3.2.1 warnings).
Noticed on: bento
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 + + + # |