summaryrefslogtreecommitdiff
path: root/meta/recipes-bsp/pciutils/pciutils-3.1.7/makefile.patch
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2011-07-13 16:44:52 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-20 15:24:55 +0100
commit99e1b18de5de1fb8558222cef2fc9aac27a797a6 (patch)
treec88b543c0c39225d2b2eab11c2da6705ca1ef907 /meta/recipes-bsp/pciutils/pciutils-3.1.7/makefile.patch
parentec7ea43749d40e4164dc35493a796b9546e60e4e (diff)
downloadopenembedded-core-99e1b18de5de1fb8558222cef2fc9aac27a797a6.tar.gz
openembedded-core-99e1b18de5de1fb8558222cef2fc9aac27a797a6.tar.bz2
openembedded-core-99e1b18de5de1fb8558222cef2fc9aac27a797a6.tar.xz
openembedded-core-99e1b18de5de1fb8558222cef2fc9aac27a797a6.zip
pciutils: Change the hardcoded /usr/lib to support multilib.
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Diffstat (limited to 'meta/recipes-bsp/pciutils/pciutils-3.1.7/makefile.patch')
-rw-r--r--meta/recipes-bsp/pciutils/pciutils-3.1.7/makefile.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/recipes-bsp/pciutils/pciutils-3.1.7/makefile.patch b/meta/recipes-bsp/pciutils/pciutils-3.1.7/makefile.patch
new file mode 100644
index 000000000..811aac8e1
--- /dev/null
+++ b/meta/recipes-bsp/pciutils/pciutils-3.1.7/makefile.patch
@@ -0,0 +1,14 @@
+Upstream-Status: Inappropriate [configuration]
+
+diff -ruN pciutils-3.1.7-orig/Makefile pciutils-3.1.7/Makefile
+--- pciutils-3.1.7-orig/Makefile 2011-07-11 14:41:59.000000000 +0800
++++ pciutils-3.1.7/Makefile 2011-07-11 14:42:31.000000000 +0800
+@@ -31,7 +31,7 @@
+ IDSDIR=$(SHAREDIR)
+ MANDIR:=$(shell if [ -d $(PREFIX)/share/man ] ; then echo $(PREFIX)/share/man ; else echo $(PREFIX)/man ; fi)
+ INCDIR=$(PREFIX)/include
+-LIBDIR=$(PREFIX)/lib
++LIBDIR=$(libdir)
+ PKGCFDIR=$(LIBDIR)/pkgconfig
+
+ # Commands