pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/bcc



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sun May  3 16:01:28 UTC 2020

Modified Files:
        pkgsrc/devel/bcc: DESCR Makefile

Log Message:
devel/bcc: add license, document that array[char] are harmless


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/bcc/DESCR
cvs rdiff -u -r1.31 -r1.32 pkgsrc/devel/bcc/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/bcc/DESCR
diff -u pkgsrc/devel/bcc/DESCR:1.2 pkgsrc/devel/bcc/DESCR:1.3
--- pkgsrc/devel/bcc/DESCR:1.2  Tue May  6 17:40:48 2003
+++ pkgsrc/devel/bcc/DESCR      Sun May  3 16:01:27 2020
@@ -5,7 +5,7 @@ and DOS code under unix.
 
 The C compiler understands K&R1 syntax, with a few restrictions
 regarding bitfields.  See the file bcc/bcc-cc1/bcc.bugs in the
-${DISTFILE} for Bruce's bug list.
+distfile for Bruce's bug list.
 
 The binutils (assembler and loader) have been renamed to as86 and ld86
 to not conflict with the system's assembler and loader, but they are

Index: pkgsrc/devel/bcc/Makefile
diff -u pkgsrc/devel/bcc/Makefile:1.31 pkgsrc/devel/bcc/Makefile:1.32
--- pkgsrc/devel/bcc/Makefile:1.31      Sun Nov  3 10:39:06 2019
+++ pkgsrc/devel/bcc/Makefile   Sun May  3 16:01:27 2020
@@ -1,12 +1,13 @@
-# $NetBSD: Makefile,v 1.31 2019/11/03 10:39:06 rillig Exp $
+# $NetBSD: Makefile,v 1.32 2020/05/03 16:01:27 rillig Exp $
 
 DISTNAME=              bcc
-PKGREVISION=           2
+PKGREVISION=           3
 PKGNAME=               bcc-95.3.12
 CATEGORIES=            devel lang
 
 MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
 COMMENT=               Bruce Evans' C compiler (with as and ld); can do 16-bit code
+LICENSE=               gnu-gpl-v2
 
 CONFLICTS=             bin86-[0-9]*
 CONFLICTS+=            dev86-[0-9]*
@@ -27,8 +28,8 @@ MAKE_FLAGS+=          CWARNFLAGS.clang=${CWARNFL
 .include "../../mk/bsd.prefs.mk"
 
 # This package has LP64 issues, so must build as 32-bit binary.
-.for P in ${LP64PLATFORMS}
-.  if ${MACHINE_PLATFORM:M${P}}
+.for platform in ${LP64PLATFORMS}
+.  if ${MACHINE_PLATFORM:M${platform}}
 CFLAGS+=               -m32
 LDFLAGS+=              -m32
 .  endif
@@ -36,6 +37,9 @@ LDFLAGS+=             -m32
 
 CPPFLAGS.DragonFly+=   -D_POSIX_SOURCE
 
+# Lots of array[char] expressions, but all harmless.
+BUILDLINK_TRANSFORM+=  rm:-Werror=char-subscripts
+
 post-extract:
        set -e; \
        cd ${FILESDIR}; \



Home | Main Index | Thread Index | Old Index