summaryrefslogtreecommitdiff
path: root/package/pciutils
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-10-14 00:21:05 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-10-14 00:21:05 +0200
commit838ba34414112d674ed917d83bdae7c1a8dafdc6 (patch)
tree4303cceddeb48d74755cbacc0b06eadaf45c1d37 /package/pciutils
parentb2d07cf71c35790672584d9d7bef255fd5bc554c (diff)
make MacOS X works as build system for most of the packages, update some packages to latest stable upstream version
Diffstat (limited to 'package/pciutils')
-rw-r--r--package/pciutils/Makefile6
-rw-r--r--package/pciutils/patches/patch-Makefile11
-rw-r--r--package/pciutils/patches/patch-lib_configure6
3 files changed, 18 insertions, 5 deletions
diff --git a/package/pciutils/Makefile b/package/pciutils/Makefile
index c7df89545..2e21cd918 100644
--- a/package/pciutils/Makefile
+++ b/package/pciutils/Makefile
@@ -4,9 +4,9 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= pciutils
-PKG_VERSION:= 3.0.3
+PKG_VERSION:= 3.1.7
PKG_RELEASE:= 1
-PKG_MD5SUM:= d07da501bb11e6af40acd036536c2e9a
+PKG_MD5SUM:= f3e349d22a3714b4272b171649ad5235
PKG_DESCR:= PCI Utilities
PKG_SECTION:= utils
PKG_DEPENDS:= zlib
@@ -14,6 +14,8 @@ PKG_BUILDDEP:= zlib
PKG_URL:= http://www.kernel.org/pub/software/utils/pciutils/
PKG_SITES:= http://www.kernel.org/pub/software/utils/pciutils/
+PKG_HOST_DEPENDS:= !darwin
+
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,PCIUTILS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
diff --git a/package/pciutils/patches/patch-Makefile b/package/pciutils/patches/patch-Makefile
new file mode 100644
index 000000000..9cadfa9c2
--- /dev/null
+++ b/package/pciutils/patches/patch-Makefile
@@ -0,0 +1,11 @@
+--- pciutils-3.1.7.orig/Makefile 2010-01-31 18:42:12.000000000 +0100
++++ pciutils-3.1.7/Makefile 2010-10-10 20:15:01.000000000 +0200
+@@ -52,7 +52,7 @@ PCIINC_INS=lib/config.h lib/header.h lib
+
+ export
+
+-all: lib/$(PCILIB) lspci setpci example lspci.8 setpci.8 pcilib.7 update-pciids update-pciids.8 $(PCI_IDS)
++all: lib/$(PCILIB) lspci setpci lspci.8 setpci.8 pcilib.7 update-pciids update-pciids.8 $(PCI_IDS)
+
+ lib/$(PCILIB): $(PCIINC) force
+ $(MAKE) -C lib all
diff --git a/package/pciutils/patches/patch-lib_configure b/package/pciutils/patches/patch-lib_configure
index cde870cce..1c9629487 100644
--- a/package/pciutils/patches/patch-lib_configure
+++ b/package/pciutils/patches/patch-lib_configure
@@ -1,7 +1,7 @@
$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- pciutils-3.0.3.orig/lib/configure 2008-11-09 20:50:26.000000000 +0100
-+++ pciutils-3.0.3/lib/configure 2009-01-09 19:56:33.000000000 +0100
-@@ -60,7 +60,6 @@ case $sys in
+--- pciutils-3.1.7.orig/lib/configure 2009-07-04 18:11:04.000000000 +0200
++++ pciutils-3.1.7/lib/configure 2010-10-10 20:14:17.000000000 +0200
+@@ -64,7 +64,6 @@ case $sys in
echo_n " sysfs proc"
echo >>$c '#define PCI_HAVE_PM_LINUX_SYSFS'
echo >>$c '#define PCI_HAVE_PM_LINUX_PROC'