From 28af90ce3245892fb99b827962f6dc62c0978877 Mon Sep 17 00:00:00 2001 From: Pawel Pekala Date: Mon, 26 Dec 2011 16:33:51 +0000 Subject: - Add MEMCACHED, PYTHON, TOKYOTYRANT options [1] - Clean up CONFIGURE_ARGS [1] - Remove 6.x bits, not supported anymore - Use bsd.port.options.mk instead of bsd.port.pre.mk - Fix build for NUTUPS option PR: ports/163475 [1] Submitted by: Krzysztof Stryjek (maintainer) [1] --- net-mgmt/collectd/files/patch-configure.in | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 net-mgmt/collectd/files/patch-configure.in (limited to 'net-mgmt/collectd/files/patch-configure.in') diff --git a/net-mgmt/collectd/files/patch-configure.in b/net-mgmt/collectd/files/patch-configure.in new file mode 100644 index 000000000000..30f150d17cc7 --- /dev/null +++ b/net-mgmt/collectd/files/patch-configure.in @@ -0,0 +1,20 @@ +--- configure.in.orig 2011-10-14 22:49:49.000000000 +0200 ++++ configure.in 2011-12-19 23:07:31.000000000 +0100 +@@ -3165,7 +3165,7 @@ + if test "x$with_python" = "xyes" + then + AC_MSG_CHECKING([for Python LIBS]) +- python_library_flags=`echo "import distutils.sysconfig;import sys;sys.stdout.write(distutils.sysconfig.get_config_vars(\"BLDLIBRARY\").__getitem__(0))" | "$with_python_prog" 2>&1` ++ python_library_flags=`echo "import distutils.sysconfig;import sys;sys.stdout.write(distutils.sysconfig.get_config_vars(\"LIBDIR\").__getitem__(0)+\"/\"+distutils.sysconfig.get_config_vars(\"BLDLIBRARY\").__getitem__(0))" | "$with_python_prog" 2>&1` + python_config_status=$? + + if test "$python_config_status" -ne 0 || test "x$python_library_flags" = "x" +@@ -3180,7 +3180,7 @@ + if test "x$with_python" = "xyes" + then + LDFLAGS="-L$python_library_path $LDFLAGS" +- LIBS="$python_library_flags $LIBS" ++ LIBS="$python_library_flags $LIBS -lm -lpthread -lutil" + + AC_CHECK_FUNC(PyObject_CallFunction, + [with_python="yes"], -- cgit v1.2.3