diff options
author | luoyi <luoyi.ly@gmail.com> | 2010-05-13 00:36:48 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:36:48 +0200 |
commit | 211924047cfb05cbf4c07e882dabc30023e3373b (patch) | |
tree | 9796983b600c13a654187ec56bd9de93f9c52244 /network/ipvsadm/ipvsadm-1.25-popt.patch | |
parent | 419f9cb86cc04a4c17cea3c8ecae39ed0d4cfb5c (diff) | |
download | slackbuilds-211924047cfb05cbf4c07e882dabc30023e3373b.tar.gz |
network/ipvsadm: Updated for version 1.25
Diffstat (limited to 'network/ipvsadm/ipvsadm-1.25-popt.patch')
-rw-r--r-- | network/ipvsadm/ipvsadm-1.25-popt.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/network/ipvsadm/ipvsadm-1.25-popt.patch b/network/ipvsadm/ipvsadm-1.25-popt.patch new file mode 100644 index 0000000000..2826002843 --- /dev/null +++ b/network/ipvsadm/ipvsadm-1.25-popt.patch @@ -0,0 +1,19 @@ +diff -Naupr ipvsadm-1.25.orig/Makefile ipvsadm-1.25/Makefile +--- ipvsadm-1.25.orig/Makefile 2008-09-23 18:14:46.000000000 +0200 ++++ ipvsadm-1.25/Makefile 2008-12-22 20:03:53.793372130 +0100 +@@ -62,14 +62,7 @@ RPMBUILD = $(shell \ + fi ) + + ifeq (,$(FORCE_GETOPT)) +-LIB_SEARCH = /lib /usr/lib /usr/local/lib +-POPT_LIB = $(shell for i in $(LIB_SEARCH); do \ +- if [ -f $$i/libpopt.a ]; then \ +- if nm $$i/libpopt.a | fgrep -q poptGetContext; then \ +- echo "-lpopt"; \ +- fi; \ +- fi; \ +-done) ++POPT_LIB = "-lpopt" + endif + + ifneq (,$(POPT_LIB)) |