summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-firewall/iptables/files/iptables-1.4.2-no-ldconfig.patch')
-rw-r--r--net-firewall/iptables/files/iptables-1.4.2-no-ldconfig.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/net-firewall/iptables/files/iptables-1.4.2-no-ldconfig.patch b/net-firewall/iptables/files/iptables-1.4.2-no-ldconfig.patch
new file mode 100644
index 000000000000..06a3be51b90d
--- /dev/null
+++ b/net-firewall/iptables/files/iptables-1.4.2-no-ldconfig.patch
@@ -0,0 +1,15 @@
+avoid pointless overhead for DESTDIR builds
+
+http://bugzilla.netfilter.org/show_bug.cgi?id=560
+
+--- Makefile.in
++++ Makefile.in
+@@ -1530,7 +1530,7 @@
+ # ldconfig may fail when we are not root (as is the case in build systems)
+ # so add appropriate protection that it does not let `make` fail.
+ install-exec-hook:
+- -/sbin/ldconfig || :;
++ -[ -z "$(DESTDIR)" ] && /sbin/ldconfig
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT: