Upgrade to nqc 2.5 r3. The old distfile has gone away.

Approved by: portmgr (marcus)
This commit is contained in:
John Hay 2003-11-25 18:02:41 +00:00
parent 9b935a9823
commit 6958cd73de
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=94778
3 changed files with 20 additions and 17 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= nqc
PORTVERSION= 2.5.r1
PORTVERSION= 2.5.r3
CATEGORIES= lang
MASTER_SITES= http://www.baumfamily.org/nqc/release/
EXTRACT_SUFX= .tgz

View File

@ -1 +1 @@
MD5 (nqc-2.5.r1.tgz) = b765ac5077aba731861157c265748075
MD5 (nqc-2.5.r3.tgz) = 65917b5057533f9c12b9504f0c966f8d

View File

@ -1,5 +1,5 @@
--- Makefile.orig Tue Jan 28 06:24:21 2003
+++ Makefile Thu Jan 30 20:19:25 2003
--- Makefile.orig Sun Nov 9 06:14:20 2003
+++ Makefile Tue Nov 25 19:51:54 2003
@@ -28,20 +28,20 @@
#
# Pick your C++ compiler.
@ -25,7 +25,7 @@
# Link in any necessary C++ libraries
#
@@ -50,21 +50,22 @@
@@ -50,19 +50,20 @@
# installation information
@ -51,22 +51,25 @@
-CFLAGS = -pipe -Iplatform -Ircxlib -Inqc -Icompiler -Wall -Wstrict-prototypes -Wmissing-prototypes
+CFLAGS += -Iplatform -Ircxlib -Inqc -Icompiler
-USBOBJ = rcxlib/RCX_USBTowerPipe_none.o
+USBOBJ = rcxlib/RCX_USBTowerPipe_fbsd.o
USBOBJ = rcxlib/RCX_USBTowerPipe_none.o
#
# Platform specific tweaks
@@ -78,9 +79,6 @@
ifeq ($TARGET),solaris)
@@ -87,18 +88,23 @@
# Solaris
CFLAGS += -DSOLARIS
-else
- # default - works for Linux
- CFLAGS += -O6
else
+ifneq (,$(strip $(findstring $(OSTYPE), FreeBSD)))
+ # FreeBSD
+ USBOBJ = rcxlib/RCX_USBTowerPipe_fbsd.o
+else
# default Unix build without USB support
CFLAGS += -O6
endif
endif
endif
+endif
@@ -88,7 +86,7 @@
# this must happen after the platform tweaks just in case the platform
# wants to redefine the default serial name
#
ifndef DEFAULT_SERIAL_NAME
@ -75,7 +78,7 @@
endif
CFLAGS += -DDEFAULT_SERIAL_NAME='$(DEFAULT_SERIAL_NAME)'
@@ -140,10 +138,10 @@
@@ -150,10 +156,10 @@
$(MKDIR) bin
bin/nqc : compiler/parse.cpp $(OBJ)
@ -88,7 +91,7 @@
#
# clean up stuff
@@ -203,7 +201,7 @@
@@ -213,7 +219,7 @@
# general rule for compiling
#
.cpp.o: