summaryrefslogtreecommitdiff
path: root/pkgtools/Makefile
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2020-03-11 19:15:03 +0000
committerrillig <rillig@pkgsrc.org>2020-03-11 19:15:03 +0000
commit09d8d2fdc742fed4eb0493071c62fdaa5c9b5eb2 (patch)
treef6b1f52e6f5daa232e74411a0ec4f088968cad22 /pkgtools/Makefile
parent19c981bc01697fe26f9a9e4e88d2ed386b8ad827 (diff)
downloadpkgsrc-09d8d2fdc742fed4eb0493071c62fdaa5c9b5eb2.tar.gz
pkgtools/check-portability: check extracted files for portability issues
Checks whether the given files use features of programming languages that are not portable to a wide range of platforms. See mk/check/check-portability.mk. https://mail-index.netbsd.org/tech-pkg/2020/03/10/msg022787.html This new check is not active by default, and the package is not forced to be installed. This will be done after getting some experience in practical cases. The code has been tested by extracting about 1.7 GB of pkgsrc distfiles and scanning for lines containing both "[[" and "]]".
Diffstat (limited to 'pkgtools/Makefile')
-rw-r--r--pkgtools/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgtools/Makefile b/pkgtools/Makefile
index 40bce1b52a0..afb5952edf6 100644
--- a/pkgtools/Makefile
+++ b/pkgtools/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.119 2018/12/05 19:23:46 schmonz Exp $
+# $NetBSD: Makefile,v 1.120 2020/03/11 19:15:03 rillig Exp $
#
COMMENT= Tools for use in the packages collection
@@ -9,6 +9,7 @@ SUBDIR+= binpatch
SUBDIR+= bootstrap-extras
SUBDIR+= bootstrap-mk-files
SUBDIR+= cdpack
+SUBDIR+= check-portability
SUBDIR+= compat_headers
SUBDIR+= createbuildlink
SUBDIR+= cwrappers