From: Martin Mares Date: Fri, 26 Dec 2003 23:30:47 +0000 (+0000) Subject: Updated the FreeBSD port X-Git-Tag: v3.0.0~145 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=45902995cd79d08100b116847be3ad653d0c5ea1;p=pciutils.git Updated the FreeBSD port Updated the FreeBSD port. Thanks to Samy Al Bahra for the patches: * lib/Makefile: Add ${FREEBSD_SYS} to the include path if it's defined. * lib/fbsd-device.c: Select the right set of system includes according to __FreeBSD_version. git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-20 --- diff --git a/ChangeLog b/ChangeLog index e48b7f1..d192e15 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2003-12-27 Martin Mares + + Updated the FreeBSD port. Thanks to Samy Al Bahra + for the patches: + + * lib/Makefile: Add ${FREEBSD_SYS} to the include path if it's defined. + * lib/fbsd-device.c: Select the right set of system includes according + to __FreeBSD_version. + 2003-12-27 Martin Mares Merged support for Solaris on i386 by Bill Moore diff --git a/lib/Makefile b/lib/Makefile index 30e06e8..b48c4ce 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -27,6 +27,9 @@ endif 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