diff options
author | Cy Schubert <cy@FreeBSD.org> | 2021-02-10 15:39:56 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2021-02-10 15:39:56 +0000 |
commit | 1184a12e5f2b0672a670fc8d473c24601db9ace1 (patch) | |
tree | d01b6a5a88af09467d49c2ec9d6e1b9f262a0210 /net | |
parent | sysutils/rmlint: Update to 2.10.1.11 (diff) |
Fix 13-STABLE and 14-CURRENT for real.
r564711 attempted to provide both the definitions to use the old
NO_WERROR and the new MK_WERROR. However foot-shooting protection
prevents such innovative approaches. Therefore additional logic
is required.
PR: 253000
Submitted by: cy
Reported by: cy
Approved by: jlh (maintainer, by private email)
MFH: 2021Q1
Notes
Notes:
svn path=/head/; revision=564865
Diffstat (limited to 'net')
-rw-r--r-- | net/bsdrcmds/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/net/bsdrcmds/Makefile b/net/bsdrcmds/Makefile index 7c492ea3edde..1a32779144e3 100644 --- a/net/bsdrcmds/Makefile +++ b/net/bsdrcmds/Makefile @@ -16,7 +16,14 @@ LICENSE= BSD3CLAUSE USES= uidfix MAKE_ARGS+= BINOWN=${BINOWN} BINMODE=${BINMODE} -MAKE_ENV+= MK_WERROR=no NO_WERROR=1 + +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1300134 +MAKE_ENV+= MK_WERROR=no +.else +MAKE_ENV+= NO_WERROR=1 +.endif OPTIONS_DEFINE= IPV6 LIBBLACKLIST OPTIONS_DEFAULT= LIBBLACKLIST |