$NetBSD: patch-aa,v 1.32 2024/02/25 15:08:50 wiz Exp $ Adapt the Makefile to make it compliant with pkgsrc. --- Makefile.orig 2024-02-24 23:10:18.000000000 +0000 +++ Makefile @@ -1,8 +1,7 @@ # Makefile for The PCI Utilities # (c) 1998--2024 Martin Mares -OPT=-O2 -CFLAGS=$(OPT) -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes +CFLAGS=-Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes VERSION=3.11.1 DATE=2024-02-25 @@ -13,7 +12,7 @@ RELEASE= CROSS_COMPILE= # Support for compressed pci.ids (yes/no, default: detect) -ZLIB= +ZLIB=no # Support for resolving ID's by DNS (yes/no, default: detect) DNS= @@ -45,9 +44,9 @@ PKGCFDIR=$(LIBDIR)/pkgconfig # Commands INSTALL=install DIRINSTALL=install -d -STRIP=-s +#STRIP=-s ifdef CROSS_COMPILE -STRIP+=--strip-program $(CROSS_COMPILE)strip +#STRIP+=--strip-program $(CROSS_COMPILE)strip CC=$(CROSS_COMPILE)gcc else CC=cc