# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../iproute2/iproute2-makefile.patch # Copyright (C) 2010 The OpenSDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- SDE-COPYRIGHT-NOTE-END --- --- iproute2-2.6.33/Makefile.orig 2010-07-29 15:58:54.676088196 +0200 +++ iproute2-2.6.33/Makefile 2010-07-29 16:08:27.216258415 +0200 @@ -1,14 +1,14 @@ -DESTDIR=/usr/ -ROOTDIR=$(DESTDIR) -LIBDIR=/usr/lib/ -SBINDIR=/sbin +DESTDIR= +PREFIX=/usr +LIBDIR=$(PREFIX)/lib +SBINDIR=$(PREFIX)/sbin CONFDIR=/etc/iproute2 -DOCDIR=/share/doc/iproute2 -MANDIR=/share/man +DOCDIR=$(PREFIX)/share/doc/iproute2 +MANDIR=$(PREFIX)/share/man ARPDDIR=/var/lib/arpd # Path to db_185.h include -DBM_INCLUDE:=$(ROOTDIR)/usr/include +DBM_INCLUDE:=$(DESTDIR)/usr/include SHARED_LIBS = y