freebsd-ports/sysutils/pciutils/files/patch-Makefile
Marcus Alves Grando e1fea7116b Update to 2.2.0
Add SHA256

PR:		88548
Submitted by:	Andrew Pantyukhin <sat@proxy.gubkin.ru>
Approved by:	maintainer timeout, 16 days
2005-11-23 02:15:56 +00:00

24 lines
758 B
Text

--- Makefile.orig Wed Sep 21 09:04:54 2005
+++ Makefile Wed Nov 23 00:11:07 2005
@@ -1,19 +1,16 @@
# Makefile for The PCI Utilities
# (c) 1998--2005 Martin Mares <mj@ucw.cz>
-OPT=-O2
-CFLAGS=$(OPT) -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Winline
+CFLAGS+= -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Winline
VERSION=2.2.0
DATE=2005-09-21
-PREFIX=/usr/local
SBINDIR=$(PREFIX)/sbin
SHAREDIR=$(PREFIX)/share
IDSDIR=$(SHAREDIR)
MANDIR:=$(shell if [ -d $(PREFIX)/share/man ] ; then echo $(PREFIX)/share/man ; else echo $(PREFIX)/man ; fi)
-INSTALL=install
-DIRINSTALL=install -d
+DIRINSTALL=$(INSTALL) -d
PCILIB=lib/libpci.a
PCIINC=lib/config.h lib/header.h lib/pci.h lib/types.h lib/sysdep.h