mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 15:33:55 +02:00
9bab3a8c38
.include <bsd.port.arch.mk>
.if !${PROPERTIES:Mclang}
CFLAGS+= -std=gnu99
.endif
which are no longer needed since "Make gnu99 the default for gcc 3.3.6
and 4.2.1, not gnu89" commit in Oct 2023.
pointed out by tb@
33 lines
616 B
Makefile
33 lines
616 B
Makefile
NOT_FOR_ARCHS = m88k
|
|
|
|
COMMENT = PCI bus configuration register access tools
|
|
|
|
DISTNAME = pciutils-3.11.1
|
|
CATEGORIES = sysutils
|
|
|
|
HOMEPAGE = https://mj.ucw.cz/sw/pciutils/
|
|
|
|
MAINTAINER = Jonathan Gray <jsg@openbsd.org>
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB = c z
|
|
|
|
SITES = https://www.kernel.org/pub/software/utils/pciutils/ \
|
|
https://mj.ucw.cz/download/linux/pci/
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
MAKE_FLAGS = CC="${CC}" OPT="${CFLAGS}"
|
|
FAKE_FLAGS = PREFIX=${TRUEPREFIX} MANDIR=${TRUEPREFIX}/man
|
|
|
|
NO_TEST = Yes
|
|
|
|
INSTALL_TARGET = install install-lib
|
|
|
|
post-install:
|
|
rm ${PREFIX}/man/man7/pcilib.7
|
|
|
|
.include <bsd.port.mk>
|