1
0
Fork 0
mirror of git://slackware.nl/current.git synced 2025-01-27 07:59:56 +01:00
slackware-current/source/n/iproute2/iproute2-2.6.33-fixup_dbpath_and_iptablespath.diff
Patrick J Volkerding b76270bf9e Slackware 13.1
Wed May 19 08:58:23 UTC 2010
Slackware 13.1 x86_64 stable is released!
Lots of thanks are due -- see the RELEASE_NOTES and the rest of the
ChangeLog for credits.  The ISOs are on their way to replication,
a 6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD.
We are taking pre-orders now at store.slackware.com, and offering
a discount if you sign up for a subscription.  Consider picking up
a copy to help support the project.  Thanks again to the Slackware
community for testing, contributing, and generally holding us to a
high level of quality.  :-)
Enjoy!
2018-05-31 22:43:05 +02:00

34 lines
995 B
Diff

diff -Nur iproute2-2.6.33.orig//Makefile iproute2-2.6.33/Makefile
--- iproute2-2.6.33.orig//Makefile 2010-02-24 21:56:50.000000000 -0600
+++ iproute2-2.6.33/Makefile 2010-02-24 23:00:52.614825494 -0600
@@ -1,14 +1,14 @@
DESTDIR=/usr/
ROOTDIR=$(DESTDIR)
-LIBDIR=/usr/lib/
+LIBDIR=@LIBDIR@
SBINDIR=/sbin
CONFDIR=/etc/iproute2
-DOCDIR=/share/doc/iproute2
-MANDIR=/share/man
+DOCDIR=/doc/iproute2-@VERSION@
+MANDIR=/man
ARPDDIR=/var/lib/arpd
# Path to db_185.h include
-DBM_INCLUDE:=$(ROOTDIR)/usr/include
+DBM_INCLUDE:=$(ROOTDIR)/usr/include/db44
SHARED_LIBS = y
diff -Nur iproute2-2.6.33.orig//include/iptables.h iproute2-2.6.33/include/iptables.h
--- iproute2-2.6.33.orig//include/iptables.h 2010-02-24 21:56:50.000000000 -0600
+++ iproute2-2.6.33/include/iptables.h 2010-02-24 23:02:21.891841749 -0600
@@ -5,7 +5,7 @@
#include "libiptc/libiptc.h"
#ifndef IPT_LIB_DIR
-#define IPT_LIB_DIR "/usr/local/lib/iptables"
+#define IPT_LIB_DIR "@LIBDIR@"
#endif
#ifndef IPPROTO_SCTP