Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jan 2021 11:26:07 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r563201 - branches/2021Q1/devel/linux_libusb
Message-ID:  <202101291126.10TBQ79l068165@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Fri Jan 29 11:26:07 2021
New Revision: 563201
URL: https://svnweb.freebsd.org/changeset/ports/563201

Log:
  MFH: r561055
  
  Replace NO_WERROR with WITHOUT_WERROR after
  https://cgit.FreeBSD.org/src/commit/?id=7fa2f2a62f04f095e1e27ad55aa22a8f59b1df8f

Modified:
  branches/2021Q1/devel/linux_libusb/Makefile
Directory Properties:
  branches/2021Q1/   (props changed)

Modified: branches/2021Q1/devel/linux_libusb/Makefile
==============================================================================
--- branches/2021Q1/devel/linux_libusb/Makefile	Fri Jan 29 11:14:48 2021	(r563200)
+++ branches/2021Q1/devel/linux_libusb/Makefile	Fri Jan 29 11:26:07 2021	(r563201)
@@ -31,9 +31,9 @@ CFLAGS:=	${CFLAGS:N-march=*}
 CFLAGS+=	-I${WRKDIR}/${DISTNAME}/include
 SSP_CFLAGS?=	-fstack-protector # XXX -strong isn't supported by GCC < 4.9
 MAKE_ARGS+=	LIBUSB_GLOBAL_INCLUDE_FILE=libusb_global_linux.h
-MAKE_ARGS+=	NO_WERROR=yes
 MAKE_ARGS+=	WITHOUT_PROFILE=yes
 MAKE_ARGS+=	WITHOUT_SSP=yes
+MAKE_ARGS+=	WITHOUT_WERROR=yes
 MAKE_ARGS+=	__MAKE_CONF=""
 MAKE_ENV+=	LDADD="-lrt"
 
@@ -43,6 +43,10 @@ FSVNPATH?=	http://svn.freebsd.org/base/head
 FSVNDIR=	lib/libusb
 
 .include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300134
+MAKE_ARGS+=	NO_WERROR=yes
+.endif
 
 .if ${ARCH} == amd64
 PLIST_FILES+=	usr/lib/libusb.so.3 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101291126.10TBQ79l068165>