svn commit: r563201 - branches/2021Q1/devel/linux_libusb
Tijl Coosemans
tijl at FreeBSD.org
Fri Jan 29 11:26:08 UTC 2021
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 \
More information about the svn-ports-branches
mailing list