From a0b20788ccb0f1fbd791d8fb48c51b8166bd0480 Mon Sep 17 00:00:00 2001 From: zhuk Date: Mon, 28 Mar 2016 15:36:17 +0000 Subject: [PATCH] Import (currently failing) test of false-positive in portcheck: when you have a PKG_ARCH=* port and, to avoid WANTLIBs (coming from MODULES, for example) getting in package, specify WANTLIB-= (empty), portcheck misses this and still warns about non-empty WANTLIB. The fix to be comitted separately in the next commit. --- tests/portcheck/t18/Makefile | 12 ++++++++++++ tests/portcheck/t18/pkg/PLIST | 2 ++ 2 files changed, 14 insertions(+) create mode 100644 tests/portcheck/t18/Makefile create mode 100644 tests/portcheck/t18/pkg/PLIST diff --git a/tests/portcheck/t18/Makefile b/tests/portcheck/t18/Makefile new file mode 100644 index 00000000000..f31ebd9eadb --- /dev/null +++ b/tests/portcheck/t18/Makefile @@ -0,0 +1,12 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2016/03/28 15:36:17 zhuk Exp $ +# +# Check silence in case of PKG_ARCH=* and WANTLIB-= (empty) + +COMMENT = test 18 +DISTNAME = test-18 +PKG_ARCH= * + +WANTLIB = c + WANTLIB-= + +.include diff --git a/tests/portcheck/t18/pkg/PLIST b/tests/portcheck/t18/pkg/PLIST new file mode 100644 index 00000000000..987f2aafd8e --- /dev/null +++ b/tests/portcheck/t18/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2016/03/28 15:36:17 zhuk Exp $ +bin/test18