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:   wiz
Date:           Fri May 13 15:43:20 UTC 2022

Modified Files:
        pkgsrc/sysutils/flashrom: Makefile

Log Message:
flashrom: adapt for pciutils 3.8


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 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.14 pkgsrc/sysutils/flashrom/Makefile:1.15
--- pkgsrc/sysutils/flashrom/Makefile:1.14      Sun Dec 19 09:47:58 2021
+++ pkgsrc/sysutils/flashrom/Makefile   Fri May 13 15:43:19 2022
@@ -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= Makefile
 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 @@ do-install:
        ${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