aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorkbyanc <kbyanc@FreeBSD.org>2000-11-09 17:57:08 +0800
committerkbyanc <kbyanc@FreeBSD.org>2000-11-09 17:57:08 +0800
commitc9a249faff9028775018bff68074e9afc1844e04 (patch)
tree56c82c880124ed9aa013603e147822d68d044961 /lang
parente43ce0db4f0431736a80c4e509d62940cb5e9829 (diff)
downloadfreebsd-ports-graphics-c9a249faff9028775018bff68074e9afc1844e04.tar.gz
freebsd-ports-graphics-c9a249faff9028775018bff68074e9afc1844e04.tar.zst
freebsd-ports-graphics-c9a249faff9028775018bff68074e9afc1844e04.zip
Update NQC port to version 2.2.r2
PR: 22638 Submitted by: Stephen J. Roznowski <sjr@home.net>
Diffstat (limited to 'lang')
-rw-r--r--lang/nqc/Makefile4
-rw-r--r--lang/nqc/distinfo2
-rw-r--r--lang/nqc/files/patch-aa43
3 files changed, 40 insertions, 9 deletions
diff --git a/lang/nqc/Makefile b/lang/nqc/Makefile
index 3a557d9926f..17b7c58c067 100644
--- a/lang/nqc/Makefile
+++ b/lang/nqc/Makefile
@@ -6,11 +6,11 @@
#
PORTNAME= nqc
-PORTVERSION= 2.1.r2
+PORTVERSION= 2.2.r2
CATEGORIES= lang
MASTER_SITES= http://www.enteract.com/~dbaum/nqc/release/
-MAINTAINER= kbyanc@posi.net
+MAINTAINER= kbyanc@FreeBSD.org
MAN1= nqc.1
diff --git a/lang/nqc/distinfo b/lang/nqc/distinfo
index 58e97ed964c..edb5140a51f 100644
--- a/lang/nqc/distinfo
+++ b/lang/nqc/distinfo
@@ -1 +1 @@
-MD5 (nqc-2.1.r2.tar.gz) = b11d57fa6630f0589246a9ceea5b6322
+MD5 (nqc-2.2.r2.tar.gz) = d315a4c36227923f2c010ab8e38df083
diff --git a/lang/nqc/files/patch-aa b/lang/nqc/files/patch-aa
index e74438e13b7..99a4baa378b 100644
--- a/lang/nqc/files/patch-aa
+++ b/lang/nqc/files/patch-aa
@@ -1,11 +1,11 @@
---- Makefile.orig Sat Mar 25 17:16:58 2000
-+++ Makefile Sat Apr 29 13:06:05 2000
-@@ -27,14 +27,14 @@
+--- Makefile.orig Sun Oct 22 11:26:06 2000
++++ Makefile Thu Nov 9 01:29:29 2000
+@@ -28,14 +28,14 @@
#
# Pick your C++ compiler.
#
-CC=g++
-+#CC=g++
++CC?=g++
#CC=gcc
#
@@ -18,16 +18,33 @@
#
# Define the FLEX processor
-@@ -46,7 +46,7 @@
+@@ -47,24 +47,25 @@
# Use this to define the default device driver name
# for serial port connections.
#
-DEFAULT_SERIAL_NAME = "/dev/ttyS0"
+DEFAULT_SERIAL_NAME = "/dev/cuaa0"
+ # installation information
+-BINDIR=/usr/local/bin
+-MANDIR=/usr/local/man/man1
++PREFIX?=/usr/local
++BINDIR=$(PREFIX)/bin
++MANDIR=$(PREFIX)/man/man1
+ MANEXT=1
+
# other commands
-@@ -58,7 +58,7 @@
+-LD=$(CC)
+-CP=cp -f
+-MKDIR=mkdir
+-MV=mv -f
+-RM=rm -f
++LD?=$(LD)
++CP?=cp -f
++MKDIR?=mkdir
++MV?=mv -f
++RM?=rm -f
IFLAGS=-Iplatform -Ircxlib -Inqc -Icompiler
WFLAGS=-Wall -Wstrict-prototypes -Wmissing-prototypes
@@ -36,3 +53,17 @@
OBJ = $(NQCOBJ) $(COBJ) $(RCXOBJ) $(POBJ)
+@@ -106,10 +107,10 @@
+ $(MKDIR) bin
+
+ bin/nqc : compiler/parse.cpp $(OBJ)
+- $(LD) -o $@ $(OBJ)
++ $(CC) -o $@ $(OBJ) -lstdc++
+
+-bin/mkdata : mkdata/mkdata.cpp nqc/SRecord.cpp
+- $(LD) -o bin/mkdata -Inqc/ -Iplatform/ mkdata/mkdata.cpp nqc/SRecord.cpp
++bin/mkdata : mkdata/mkdata.o nqc/SRecord.o
++ $(CC) -o bin/mkdata mkdata/mkdata.o nqc/SRecord.o -lstdc++
+
+ #
+ # clean up stuff