aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKelly Yancey <kbyanc@FreeBSD.org>2000-11-09 09:57:08 +0000
committerKelly Yancey <kbyanc@FreeBSD.org>2000-11-09 09:57:08 +0000
commitfbd507064394bf4655550febc0f255dac69178e1 (patch)
treec74d65cae7c893b43cc9af167209c200a5186d3b
parent3042f9e0c1545f1d70cdafe159dc6f9d84bcdfde (diff)
downloadports-fbd507064394bf4655550febc0f255dac69178e1.tar.gz
ports-fbd507064394bf4655550febc0f255dac69178e1.zip
Notes
-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 3a557d9926f6..17b7c58c0673 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 58e97ed964c3..edb5140a51fd 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 e74438e13b70..99a4baa378b8 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