pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/sparse
Module Name: pkgsrc
Committed By: riastradh
Date: Sun Dec 31 17:59:48 UTC 2023
Modified Files:
pkgsrc/devel/sparse: Makefile PLIST distinfo
pkgsrc/devel/sparse/patches: patch-Makefile
Removed Files:
pkgsrc/devel/sparse/patches: patch-dissect.h
Log Message:
devel/sparse: update to 0.6.4
Brings in over a decade of changes since 0.4.4, see full release
notes here:
https://sparse.docs.kernel.org/en/latest/release-notes/index.html
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/sparse/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/sparse/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/sparse/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/sparse/patches/patch-Makefile
cvs rdiff -u -r1.1 -r0 pkgsrc/devel/sparse/patches/patch-dissect.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/sparse/Makefile
diff -u pkgsrc/devel/sparse/Makefile:1.16 pkgsrc/devel/sparse/Makefile:1.17
--- pkgsrc/devel/sparse/Makefile:1.16 Tue Jun 28 11:33:43 2022
+++ pkgsrc/devel/sparse/Makefile Sun Dec 31 17:59:47 2023
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.16 2022/06/28 11:33:43 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2023/12/31 17:59:47 riastradh Exp $
-DISTNAME= sparse-0.4.4
-PKGREVISION= 9
+DISTNAME= sparse-0.6.4
CATEGORIES= devel lang
MASTER_SITES= https://kernel.org/pub/software/devel/sparse/dist/
EXTRACT_SUFX= .tar.xz
@@ -9,19 +8,29 @@ EXTRACT_SUFX= .tar.xz
MAINTAINER= reed%reedmedia.net@localhost
HOMEPAGE= http://kernel.org/pub/software/devel/sparse/
COMMENT= Semantic parser for C
-# The license in the tarball appears to be a different (older) version
-# from the one in pkgsrc/licenses. I have no idea how significant this
-# might be.
-#LICENSE= osl
+LICENSE= mit
+TOOLS_CREATE+= llvm-config
+TOOLS_SCRIPT.llvm-config= exit 1
+
+INSTALLATION_DIRS+= bin
INSTALLATION_DIRS+= share/doc/sparse
+INSTALLATION_DIRS+= ${PKGMANDIR}/man1
PKGCONFIG_OVERRIDE+= sparse.pc.in
REPLACE_PERL= cgcc
USE_TOOLS+= gmake perl:run
+CPPFLAGS+= -D_POSIX_C_SOURCE=200809L
+CFLAGS+= -std=gnu99
+
+MAKE_ENV+= INSTALL_PROGRAM=${INSTALL_PROGRAM:Q}
+MAKE_ENV+= INSTALL_MAN=${INSTALL_MAN:Q}
+
post-install:
${INSTALL_DATA} ${WRKSRC}/FAQ ${DESTDIR}${PREFIX}/share/doc/sparse/
${INSTALL_DATA} ${WRKSRC}/LICENSE ${DESTDIR}${PREFIX}/share/doc/sparse/
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/sparse/
+TEST_TARGET= check
+
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/sparse/PLIST
diff -u pkgsrc/devel/sparse/PLIST:1.3 pkgsrc/devel/sparse/PLIST:1.4
--- pkgsrc/devel/sparse/PLIST:1.3 Tue Apr 2 15:27:11 2013
+++ pkgsrc/devel/sparse/PLIST Sun Dec 31 17:59:47 2023
@@ -1,24 +1,6 @@
-@comment $NetBSD: PLIST,v 1.3 2013/04/02 15:27:11 dholland Exp $
+@comment $NetBSD: PLIST,v 1.4 2023/12/31 17:59:47 riastradh Exp $
bin/cgcc
bin/sparse
-include/sparse/allocate.h
-include/sparse/bitmap.h
-include/sparse/compat.h
-include/sparse/dissect.h
-include/sparse/expression.h
-include/sparse/flow.h
-include/sparse/ident-list.h
-include/sparse/lib.h
-include/sparse/linearize.h
-include/sparse/parse.h
-include/sparse/ptrlist.h
-include/sparse/scope.h
-include/sparse/storage.h
-include/sparse/symbol.h
-include/sparse/target.h
-include/sparse/token.h
-lib/libsparse.a
-lib/pkgconfig/sparse.pc
man/man1/cgcc.1
man/man1/sparse.1
share/doc/sparse/FAQ
Index: pkgsrc/devel/sparse/distinfo
diff -u pkgsrc/devel/sparse/distinfo:1.9 pkgsrc/devel/sparse/distinfo:1.10
--- pkgsrc/devel/sparse/distinfo:1.9 Tue Oct 26 10:19:56 2021
+++ pkgsrc/devel/sparse/distinfo Sun Dec 31 17:59:47 2023
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.9 2021/10/26 10:19:56 nia Exp $
+$NetBSD: distinfo,v 1.10 2023/12/31 17:59:47 riastradh Exp $
-BLAKE2s (sparse-0.4.4.tar.xz) = 304c819a48d80294b5a00050d00cbcdd3e8adb6d5c97ed47bd4889d2e073a2aa
-SHA512 (sparse-0.4.4.tar.xz) = de466c9ea2ff666891d776241912d7ee742bf8c90ff0c57e2049b0a31eaba74361448c065e517fef5f84a8f917d22a3e85227116babe9056ad23d0686583a417
-Size (sparse-0.4.4.tar.xz) = 178152 bytes
-SHA1 (patch-Makefile) = 7c099c1cf275c324ab7cd7a2a701c2fb3a3a7be4
+BLAKE2s (sparse-0.6.4.tar.xz) = 9b893e260884c6615d445182e4e190f098e1c418c54cc209c6ae20ee89b590e7
+SHA512 (sparse-0.6.4.tar.xz) = 4ada31e588469d15862579dd7eb926ce1ad717bf96d38d425b9153f2efe73949fdda5bc59d05d926614a08d70e656e4ff531a5f0a1cf8e7725c596dcdba169f9
+Size (sparse-0.6.4.tar.xz) = 370840 bytes
+SHA1 (patch-Makefile) = 57e430d4d3c3a3d88537d4cccc9d24234588d6df
SHA1 (patch-ab) = aed1b3bd22529e8ec9ec2a359dd250cfec1af2c1
-SHA1 (patch-dissect.h) = 850271dbec6758380134c3e36fb5a885cf69259e
Index: pkgsrc/devel/sparse/patches/patch-Makefile
diff -u pkgsrc/devel/sparse/patches/patch-Makefile:1.1 pkgsrc/devel/sparse/patches/patch-Makefile:1.2
--- pkgsrc/devel/sparse/patches/patch-Makefile:1.1 Tue Apr 2 15:27:12 2013
+++ pkgsrc/devel/sparse/patches/patch-Makefile Sun Dec 31 17:59:48 2023
@@ -1,39 +1,30 @@
-$NetBSD: patch-Makefile,v 1.1 2013/04/02 15:27:12 dholland Exp $
+$NetBSD: patch-Makefile,v 1.2 2023/12/31 17:59:48 riastradh Exp $
-- honor pkgsrc's DESTDIR and PREFIX
- honor PKGMANDIR
-- don't use non-portable install -v
+- use INSTALL_PROGRAM, INSTALL_MAN
---- Makefile.orig 2011-11-25 05:39:36.000000000 +0000
+--- Makefile.orig 2021-09-06 03:51:46.000000000 +0000
+++ Makefile
-@@ -29,11 +29,12 @@ ifeq ($(HAVE_GCC_DEP),yes)
- BASIC_CFLAGS += -Wp,-MD,$(@D)/.$(@F).d
- endif
+@@ -15,7 +15,8 @@ CFLAGS ?= -O2 -g
+ DESTDIR ?=
+ PREFIX ?= $(HOME)
+ BINDIR ?= $(PREFIX)/bin
+-MANDIR ?= $(PREFIX)/share/man
++PKGMANDIR ?= share/man
++MANDIR ?= $(PREFIX)/$(PKGMANDIR)
+
+ PKG_CONFIG ?= pkg-config
+
+@@ -300,10 +301,10 @@ install-man: $(INST_MAN1:%=$(man1dir)/%)
+
+ $(bindir)/%: %
+ @echo " INSTALL $@"
+- $(Q)install -D $< $@ || exit 1;
++ $(Q)$(INSTALL_PROGRAM) $< $@ || exit 1;
+ $(man1dir)/%: %
+ @echo " INSTALL $@"
+- $(Q)install -D -m 644 $< $@ || exit 1;
++ $(Q)$(INSTALL_MAN) $< $@ || exit 1;
--DESTDIR=
--PREFIX=$(HOME)
-+DESTDIR?=
-+PREFIX?=$(HOME)
-+PKGMANDIR?=share/man
- BINDIR=$(PREFIX)/bin
- LIBDIR=$(PREFIX)/lib
--MANDIR=$(PREFIX)/share/man
-+MANDIR=$(PREFIX)/$(PKGMANDIR)
- MAN1DIR=$(MANDIR)/man1
- INCLUDEDIR=$(PREFIX)/include
- PKGCONFIGDIR=$(LIBDIR)/pkgconfig
-@@ -97,12 +98,12 @@ QUIET_INST_SH = $(Q:@=echo -n ' INS
- QUIET_INST = $(Q:@=@echo -n ' INSTALL ';)
-
- define INSTALL_EXEC
-- $(QUIET_INST)install -v $1 $(DESTDIR)$2/$1 || exit 1;
-+ $(QUIET_INST)install $1 $(DESTDIR)$2/$1 || exit 1;
-
- endef
-
- define INSTALL_FILE
-- $(QUIET_INST)install -v -m 644 $1 $(DESTDIR)$2/$1 || exit 1;
-+ $(QUIET_INST)install -m 644 $1 $(DESTDIR)$2/$1 || exit 1;
-
- endef
+ .PHONY: FORCE
Home |
Main Index |
Thread Index |
Old Index