pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/libusb1



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Jan 18 09:22:19 UTC 2021

Modified Files:
        pkgsrc/devel/libusb1: Makefile buildlink3.mk

Log Message:
libusb1: require gcc>=4.7 for -std=c11


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/devel/libusb1/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/libusb1/buildlink3.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/libusb1/Makefile
diff -u pkgsrc/devel/libusb1/Makefile:1.26 pkgsrc/devel/libusb1/Makefile:1.27
--- pkgsrc/devel/libusb1/Makefile:1.26  Fri Dec 18 23:06:19 2020
+++ pkgsrc/devel/libusb1/Makefile       Mon Jan 18 09:22:19 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2020/12/18 23:06:19 nia Exp $
+# $NetBSD: Makefile,v 1.27 2021/01/18 09:22:19 nia Exp $
 
 DISTNAME=      libusb-1.0.24
 PKGNAME=       ${DISTNAME:S/libusb/libusb1/}
@@ -13,6 +13,8 @@ HOMEPAGE=     https://libusb.info/
 COMMENT=       USB Access Library (version 1)
 LICENSE=       gnu-lgpl-v2.1
 
+GCC_REQD+=     4.7 # -std=c11
+
 # Works on Dragonfly but explicitly not wanted by DragonFly upstream;
 # see PR 47042.
 NOT_FOR_PLATFORM=      DragonFly-*-*

Index: pkgsrc/devel/libusb1/buildlink3.mk
diff -u pkgsrc/devel/libusb1/buildlink3.mk:1.3 pkgsrc/devel/libusb1/buildlink3.mk:1.4
--- pkgsrc/devel/libusb1/buildlink3.mk:1.3      Mon May 25 06:47:40 2020
+++ pkgsrc/devel/libusb1/buildlink3.mk  Mon Jan 18 09:22:19 2021
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2020/05/25 06:47:40 plunky Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2021/01/18 09:22:19 nia Exp $
 
 BUILDLINK_TREE+=       libusb1
 
@@ -7,6 +7,9 @@ LIBUSB1_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.libusb1+=        libusb1>=1.0.9
 BUILDLINK_PKGSRCDIR.libusb1?=  ../../devel/libusb1
+
+GCC_REQD+=     4.7 # -std=c11
+
 .endif # LIBUSB1_BUILDLINK3_MK
 
 BUILDLINK_TREE+=       -libusb1



Home | Main Index | Thread Index | Old Index