1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Update nqc port to version 2.3r1.

PR:		26923 (with slight modifications)
Submitted by:	"Stephen J. Roznowski" <sjr@home.com>
This commit is contained in:
Kelly Yancey 2001-05-04 05:57:04 +00:00
parent f712a9da40
commit e2bcb36091
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42237
3 changed files with 17 additions and 12 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= nqc
PORTVERSION= 2.2.r2
PORTVERSION= 2.3.r1
CATEGORIES= lang
MASTER_SITES= http://www.enteract.com/~dbaum/nqc/release/

View File

@ -1 +1 @@
MD5 (nqc-2.2.r2.tar.gz) = d315a4c36227923f2c010ab8e38df083
MD5 (nqc-2.3.r1.tar.gz) = cba9619516329732933ab8bdc753dc93

View File

@ -1,5 +1,5 @@
--- Makefile.orig Sun Oct 22 11:26:06 2000
+++ Makefile Thu Nov 9 01:29:29 2000
--- Makefile.orig Sun Apr 15 17:56:31 2001
+++ Makefile Thu May 3 22:43:42 2001
@@ -28,14 +28,14 @@
#
# Pick your C++ compiler.
@ -18,7 +18,14 @@
#
# Define the FLEX processor
@@ -47,24 +47,25 @@
@@ -45,30 +45,30 @@
# Link in any necessary C++ libraries
#
-# LIBS = -lstdc++
+LIBS = -lstdc++
#
# Use this to define the default device driver name
# for serial port connections.
#
@ -40,7 +47,6 @@
-MKDIR=mkdir
-MV=mv -f
-RM=rm -f
+LD?=$(LD)
+CP?=cp -f
+MKDIR?=mkdir
+MV?=mv -f
@ -53,17 +59,16 @@
OBJ = $(NQCOBJ) $(COBJ) $(RCXOBJ) $(POBJ)
@@ -106,10 +107,10 @@
@@ -111,10 +111,10 @@
$(MKDIR) bin
bin/nqc : compiler/parse.cpp $(OBJ)
- $(LD) -o $@ $(OBJ)
+ $(CC) -o $@ $(OBJ) -lstdc++
- $(LD) -o $@ $(OBJ) $(LIBS)
+ $(CC) -o $@ $(OBJ) $(LIBS)
-bin/mkdata : mkdata/mkdata.cpp nqc/SRecord.cpp
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++
+ $(CC) -o bin/mkdata -Inqc/ -Iplatform/ mkdata/mkdata.cpp nqc/SRecord.cpp
#
# clean up stuff