pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/flashrom
Module Name: pkgsrc
Committed By: riastradh
Date: Fri Jan 24 19:50:01 UTC 2025
Modified Files:
pkgsrc/sysutils/flashrom: Makefile
Log Message:
sysutils/flashrom: Declare dependency on libusb1.
And pass in the necessary -I flag.
Resolves:
Checking for libusb-1.0 headers... not found.
The following features require libusb-1.0: CONFIG_PICKIT2_SPI CONFIG_STLINKV3_SPI CONFIG_DEDIPROG CONFIG_DEVELOPERBOX_SPI CONFIG_CH341A_SPI CONFIG_DIGILENT_SPI.
Please install libusb-1.0 headers or disable all features
mentioned above by specifying make CONFIG_ENABLE_LIBUSB1_PROGRAMMERS=no
See README for more information.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/sysutils/flashrom/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/sysutils/flashrom/Makefile
diff -u pkgsrc/sysutils/flashrom/Makefile:1.15 pkgsrc/sysutils/flashrom/Makefile:1.16
--- pkgsrc/sysutils/flashrom/Makefile:1.15 Fri May 13 15:43:19 2022
+++ pkgsrc/sysutils/flashrom/Makefile Fri Jan 24 19:50:01 2025
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.15 2022/05/13 15:43:19 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2025/01/24 19:50:01 riastradh Exp $
DISTNAME= flashrom-v1.2
PKGNAME= ${DISTNAME:S/-v/-/}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= https://download.flashrom.org/releases/
EXTRACT_SUFX= .tar.bz2
@@ -33,6 +33,8 @@ LDFLAGS+= -lpci
CPPFLAGS+= -I/${PREFIX}/include
.endif
+CPPFLAGS+= -I${BUILDLINK_PREFIX.libusb1}/include/libusb-1.0
+
LDFLAGS.SunOS+= -lsocket -lnsl
# Disable -Werror.
@@ -45,6 +47,7 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/flashrom.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/flashrom.8
.include "../../devel/libftdi1/buildlink3.mk"
+.include "../../devel/libusb1/buildlink3.mk"
BUILDLINK_API_DEPENDS.pciutils+= pciutils>=3.8
.include "../../sysutils/pciutils/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index