From owner-svn-ports-head@FreeBSD.ORG Sun Nov 3 11:37:04 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 27001D6F; Sun, 3 Nov 2013 11:37:04 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 129652A5C; Sun, 3 Nov 2013 11:37:04 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rA3Bb3KB043733; Sun, 3 Nov 2013 11:37:03 GMT (envelope-from marino@svn.freebsd.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rA3Bb32U043731; Sun, 3 Nov 2013 11:37:03 GMT (envelope-from marino@svn.freebsd.org) Message-Id: <201311031137.rA3Bb32U043731@svn.freebsd.org> From: John Marino Date: Sun, 3 Nov 2013 11:37:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332606 - in head/lang/nqc: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Nov 2013 11:37:04 -0000 Author: marino Date: Sun Nov 3 11:37:03 2013 New Revision: 332606 URL: http://svnweb.freebsd.org/changeset/ports/332606 Log: lang/npc: Add to fix on modern compilers. While here: * remove indefinite article from COMMENT * make USE_DOS2UNIX unconditional (for all patches) * make use of OSVERSION for FreeBSD only * convert USE_GMAKE to USES format Approved by: portmgr (bapt, implicit) Added: head/lang/nqc/files/patch-compiler_lexer.cpp (contents, props changed) Modified: head/lang/nqc/Makefile Modified: head/lang/nqc/Makefile ============================================================================== --- head/lang/nqc/Makefile Sun Nov 3 11:29:15 2013 (r332605) +++ head/lang/nqc/Makefile Sun Nov 3 11:37:03 2013 (r332606) @@ -9,9 +9,10 @@ MASTER_SITES= http://bricxcc.sourceforge EXTRACT_SUFX= .tgz MAINTAINER= jhay@FreeBSD.org -COMMENT= A compiler for writing programs for the Lego RCX +COMMENT= Compiler for writing programs for the Lego RCX -USE_GMAKE= yes +USES= gmake +USE_DOS2UNIX= yes NO_WRKSUBDIR= yes MAN1= nqc.1 @@ -24,8 +25,7 @@ do-install: .include -.if ${OSVERSION} >= 800064 -USE_DOS2UNIX= rcxlib/RCX_USBTowerPipe_fbsd.cpp +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 800064 EXTRA_PATCHES+= ${FILESDIR}/extra-patch-rcxlib-RCX_USBTowerPipe_fbsd.cpp .endif Added: head/lang/nqc/files/patch-compiler_lexer.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/nqc/files/patch-compiler_lexer.cpp Sun Nov 3 11:37:03 2013 (r332606) @@ -0,0 +1,10 @@ +--- compiler/lexer.cpp.orig 2013-11-03 11:24:46.670522000 +0000 ++++ compiler/lexer.cpp +@@ -11,6 +11,7 @@ + #define YY_FLEX_MINOR_VERSION 5 + + #include ++#include + + #if defined(__MWERKS__) && !__MACH__ && !YY_NEVER_INTERACTIVE + #include