pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/check-portability pkgtools/check-portability:...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4c35769bd864
branches:  trunk
changeset: 424636:4c35769bd864
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Mar 13 08:17:18 2020 +0000

description:
pkgtools/check-portability: reduce dependencies

Since this is a very basic program, it should not depend on anything more
complicated, to avoid creating cyclic dependencies.

diffstat:

 pkgtools/check-portability/Makefile |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r bb33bc3759b3 -r 4c35769bd864 pkgtools/check-portability/Makefile
--- a/pkgtools/check-portability/Makefile       Fri Mar 13 08:11:36 2020 +0000
+++ b/pkgtools/check-portability/Makefile       Fri Mar 13 08:17:18 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2020/03/12 08:42:34 rillig Exp $
+# $NetBSD: Makefile,v 1.5 2020/03/13 08:17:18 rillig Exp $
 
 PKGNAME=       check-portability-19.4.1
 CATEGORIES=    pkgtools
@@ -9,14 +9,14 @@
 COMMENT=       Check extracted files for typical portability issues
 LICENSE=       2-clause-bsd
 
-USE_TOOLS+=            pax
-CHECK_PORTABILITY_SKIP=        testdata/*
+USE_TOOLS+=            cp
+CHECK_PORTABILITY_SKIP=        * # avoid circular dependency
+CHECK_PERMS_SKIP=      * # avoid circular dependency
 USE_LANGUAGES=         c99
 USE_BSD_MAKEFILE=      yes
 AUTO_MKDIRS=           yes
 
 do-extract:
-       mkdir ${WRKSRC}
-       cd ${FILESDIR} && ${PAX} -rw . ${WRKSRC}
+       cd ${FILESDIR} && ${CP} -R . ${WRKSRC}
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index