diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2010-09-04 23:02:35 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2010-09-04 23:02:35 (GMT) |
commit | b08ed1871d6bdc405d611592632f8ae11aed5d72 (patch) | |
tree | 7ade65b4fc6f25a953672613d0025659e5c92ca7 /abs/core-testing/iproute2/iproute2-fhs.patch | |
parent | 62af3ffd3cd796116b55834811a5a1a60230b7e0 (diff) | |
download | linhes_pkgbuild-b08ed1871d6bdc405d611592632f8ae11aed5d72.zip linhes_pkgbuild-b08ed1871d6bdc405d611592632f8ae11aed5d72.tar.gz linhes_pkgbuild-b08ed1871d6bdc405d611592632f8ae11aed5d72.tar.bz2 |
iproute2:Bumped/Updated for LinHES 7.
Diffstat (limited to 'abs/core-testing/iproute2/iproute2-fhs.patch')
-rw-r--r-- | abs/core-testing/iproute2/iproute2-fhs.patch | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/abs/core-testing/iproute2/iproute2-fhs.patch b/abs/core-testing/iproute2/iproute2-fhs.patch new file mode 100644 index 0000000..563a915 --- /dev/null +++ b/abs/core-testing/iproute2/iproute2-fhs.patch @@ -0,0 +1,57 @@ +diff -Naur iproute2.old/Makefile iproute2-2.6.29/Makefile +--- iproute2.old/Makefile 2009-11-11 22:05:21.251407668 +0100 ++++ iproute2-2.6.29/Makefile 2009-11-11 22:07:09.891833516 +0100 +@@ -1,11 +1,12 @@ + DESTDIR=/usr/ + ROOTDIR=$(DESTDIR) + LIBDIR=/usr/lib/ +-SBINDIR=/sbin ++SBINDIR=/usr/sbin + CONFDIR=/etc/iproute2 +-DOCDIR=/share/doc/iproute2 +-MANDIR=/share/man ++DOCDIR=/usr/share/doc/iproute2 ++MANDIR=/usr/share/man + ARPDDIR=/var/lib/arpd ++SHAREDIR=/usr/share + + # Path to db_185.h include + DBM_INCLUDE:=$(ROOTDIR)/usr/include +diff -Naur iproute2.old/netem/Makefile iproute2-2.6.29/netem/Makefile +--- iproute2.old/netem/Makefile 2009-11-11 22:05:21.284750207 +0100 ++++ iproute2-2.6.29/netem/Makefile 2009-11-11 22:07:54.674736924 +0100 +@@ -20,9 +20,9 @@ + $(HOSTCC) $(CCOPTS) -I../include -o $@ $@.c -lm + + install: all +- mkdir -p $(DESTDIR)/lib/tc ++ mkdir -p $(DESTDIR)/${SHAREDIR}/tc + for i in $(DISTDATA); \ +- do install -m 755 $$i $(DESTDIR)/lib/tc; \ ++ do install -m 755 $$i $(DESTDIR)/${SHAREDIR}/tc; \ + done + + clean: +diff -Naur iproute2.old/tc/tc_util.c iproute2-2.6.29/tc/tc_util.c +--- iproute2.old/tc/tc_util.c 2009-11-11 22:05:21.298076943 +0100 ++++ iproute2-2.6.29/tc/tc_util.c 2009-11-11 22:09:32.865152646 +0100 +@@ -24,8 +24,8 @@ + #include "utils.h" + #include "tc_util.h" + +-#ifndef LIBDIR +-#define LIBDIR "/usr/lib/" ++#ifndef SHAREDIR ++#define SHAREDIR "/usr/share" + #endif + + const char *get_tc_lib(void) +@@ -34,7 +34,7 @@ + + lib_dir = getenv("TC_LIB_DIR"); + if (!lib_dir) +- lib_dir = LIBDIR "/tc/"; ++ lib_dir = SHAREDIR "/tc/"; + + return lib_dir; + } |