1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/devel/libpci/files/patch-lib::Makefile
Joe Marcus Clarke 10c1e548e6 Add libpci, an API to read and write PCI configuration registers.
Submitted by:	Samy Al Bahra <samy@kerneled.com>
2003-06-28 22:36:00 +00:00

21 lines
434 B
Plaintext

--- lib/Makefile.orig Thu Dec 26 22:28:33 2002
+++ lib/Makefile Sat Jun 28 05:39:36 2003
@@ -28,6 +28,9 @@
ifdef HAVE_PM_FBSD_DEVICE
OBJS += fbsd-device.o
CFLAGS += -I/usr/src/sys
+ifdef FREEBSD_SYS
+CFLAGS += -I${FREEBSD_SYS}
+endif
endif
ifdef HAVE_PM_AIX_DEVICE
@@ -49,6 +52,7 @@
rm -f $@
ar rcs $@ $^
ranlib $@
+ gcc $(CFLAGS) -shared $@ -o libpci.so
access.o: access.c $(INCL)
i386-ports.o: i386-ports.c $(INCL)