pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/flashrom flashrom: adapt for pciutils 3.8
details: https://anonhg.NetBSD.org/pkgsrc/rev/9088d366ccde
branches: trunk
changeset: 379255:9088d366ccde
user: wiz <wiz%pkgsrc.org@localhost>
date: Fri May 13 15:43:19 2022 +0000
description:
flashrom: adapt for pciutils 3.8
diffstat:
sysutils/flashrom/Makefile | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (33 lines):
diff -r ea5fcfe96f6a -r 9088d366ccde sysutils/flashrom/Makefile
--- a/sysutils/flashrom/Makefile Fri May 13 15:36:49 2022 +0000
+++ b/sysutils/flashrom/Makefile Fri May 13 15:43:19 2022 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.14 2021/12/19 09:47:58 maya Exp $
+# $NetBSD: Makefile,v 1.15 2022/05/13 15:43:19 wiz Exp $
DISTNAME= flashrom-v1.2
PKGNAME= ${DISTNAME:S/-v/-/}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= https://download.flashrom.org/releases/
EXTRACT_SUFX= .tar.bz2
@@ -26,9 +26,9 @@
SUBST_FILES.pciutils+= hwaccess.h
SUBST_MESSAGE.pciutils= adjusting pciutils headers
SUBST_STAGE.pciutils= pre-configure
-SUBST_SED.pciutils+= -e 's,<pci/pci.h>,<pciutils/pci.h>,g'
+SUBST_SED.pciutils+= -e 's,<pciutils/pci.h>,<pci/pci.h>,g'
-.if ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS"
+.if ${OPSYS} == "SunOS"
LDFLAGS+= -lpci
CPPFLAGS+= -I/${PREFIX}/include
.endif
@@ -45,5 +45,6 @@
${INSTALL_MAN} ${WRKSRC}/flashrom.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/flashrom.8
.include "../../devel/libftdi1/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