diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-06-28 22:36:00 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-06-28 22:36:00 +0000 |
commit | 10c1e548e6ca193bd8eb49c92b2ef4a54e02a25a (patch) | |
tree | 9b8c4f5adebe48e3da847fb3c60923b7b268d210 /devel/libpci/files/patch-lib::Makefile | |
parent | Fix for libtool new world order (diff) |
Add libpci, an API to read and write PCI configuration registers.
Submitted by: Samy Al Bahra <samy@kerneled.com>
Notes
Notes:
svn path=/head/; revision=83790
Diffstat (limited to 'devel/libpci/files/patch-lib::Makefile')
-rw-r--r-- | devel/libpci/files/patch-lib::Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/libpci/files/patch-lib::Makefile b/devel/libpci/files/patch-lib::Makefile new file mode 100644 index 000000000000..c983317cb17a --- /dev/null +++ b/devel/libpci/files/patch-lib::Makefile @@ -0,0 +1,20 @@ +--- 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) |