Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jan 2021 11:36:40 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r561055 - head/devel/linux_libusb
Message-ID:  <202101101136.10ABae9r042323@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Sun Jan 10 11:36:40 2021
New Revision: 561055
URL: https://svnweb.freebsd.org/changeset/ports/561055

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

Modified:
  head/devel/linux_libusb/Makefile

Modified: head/devel/linux_libusb/Makefile
==============================================================================
--- head/devel/linux_libusb/Makefile	Sun Jan 10 11:27:54 2021	(r561054)
+++ head/devel/linux_libusb/Makefile	Sun Jan 10 11:36:40 2021	(r561055)
@@ -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?202101101136.10ABae9r042323>