summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2021-02-08 14:25:58 +0000
committerCy Schubert <cy@FreeBSD.org>2021-02-08 14:25:58 +0000
commitdedcbe9bca3dcd7cd1b1538201dec7334330aa8c (patch)
tree1bc5c0cba4d73e444964af4d7da13110c5abb529 /net
parent3873459107238bf306fb4c69d33b9e8fafe5e198 (diff)
downloadfreebsd-ports-dedcbe9bca3dcd7cd1b1538201dec7334330aa8c.zip
Fix build under 13-ALPHA and 14-CURRENT.
As of src/7fa2f2a62f04f095e1e27ad55aa22a8f59b1df8f NO_WERROR was renamed MK_WERROR. Rather than add logic, use a redundant definition that will be a NOP on the "other" version of FreeBSD. This should be maintained until 12-STABLE is retired. PR: 253000 Submitted by: cy Reported by: cy Reviewed by: jlh (maintainer) Approved by: jlh (maintainer) MFH: 2021Q1 Differential Revision: https://reviews.freebsd.org/D28361
Diffstat (limited to 'net')
-rw-r--r--net/bsdrcmds/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bsdrcmds/Makefile b/net/bsdrcmds/Makefile
index ff32d967d1cb..7c492ea3edde 100644
--- a/net/bsdrcmds/Makefile
+++ b/net/bsdrcmds/Makefile
@@ -16,7 +16,7 @@ LICENSE= BSD3CLAUSE
USES= uidfix
MAKE_ARGS+= BINOWN=${BINOWN} BINMODE=${BINMODE}
-MAKE_ENV+= NO_WERROR=1
+MAKE_ENV+= MK_WERROR=no NO_WERROR=1
OPTIONS_DEFINE= IPV6 LIBBLACKLIST
OPTIONS_DEFAULT= LIBBLACKLIST