diff options
author | linimon <linimon@FreeBSD.org> | 2018-12-02 10:37:29 +0800 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2018-12-02 10:37:29 +0800 |
commit | a36aba5f78a1f31f9e028e5aa3803db223ee6649 (patch) | |
tree | 0c0ccd655733e761add23c1bae159c6d20947bb1 | |
parent | 03b846dbeac70704fbfe57f703f6aae47d640dec (diff) | |
download | freebsd-ports-gnome-a36aba5f78a1f31f9e028e5aa3803db223ee6649.tar.gz freebsd-ports-gnome-a36aba5f78a1f31f9e028e5aa3803db223ee6649.tar.zst freebsd-ports-gnome-a36aba5f78a1f31f9e028e5aa3803db223ee6649.zip |
Flags -Wno-unknown-warning-option -Wno-implicit-fallthrough are not
supported by base GCC, making build fail on GCC-based architectures.
This changes the location of the BAD_TESTS conditional.
PR: 233576
Submitted by: Piotr Kubaj
Approved by: portmgr (tier-2 blanket)
-rw-r--r-- | www/varnish6/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/www/varnish6/Makefile b/www/varnish6/Makefile index 4308bd6b4f8d..cac10f86aff9 100644 --- a/www/varnish6/Makefile +++ b/www/varnish6/Makefile @@ -46,9 +46,14 @@ EXTRA_PATCHES+= ${FILESDIR}/no-inet6.patch OPTIONS_DEFINE= DOCS -.if defined(BAD_TESTS) +.include <bsd.port.pre.mk> + post-patch: +.if defined(BAD_TESTS) ${RM} ${BAD_TESTS:C|.+|${WRKSRC}/bin/varnishtest/tests/\0.vtc|} .endif +.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64 + ${REINPLACE_CMD} -e '/-Wno-unknown-warning-option -Wno-implicit-fallthrough/d' ${WRKSRC}/configure.ac +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |