svn commit: r564711 - head/net/bsdrcmds

Cy Schubert cy at FreeBSD.org
Mon Feb 8 14:25:59 UTC 2021


Author: cy
Date: Mon Feb  8 14:25:58 2021
New Revision: 564711
URL: https://svnweb.freebsd.org/changeset/ports/564711

Log:
  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

Modified:
  head/net/bsdrcmds/Makefile   (contents, props changed)

Modified: head/net/bsdrcmds/Makefile
==============================================================================
--- head/net/bsdrcmds/Makefile	Mon Feb  8 14:19:48 2021	(r564710)
+++ head/net/bsdrcmds/Makefile	Mon Feb  8 14:25:58 2021	(r564711)
@@ -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


More information about the svn-ports-all mailing list