diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2011-12-26 16:33:51 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2011-12-26 16:33:51 +0000 |
commit | 28af90ce3245892fb99b827962f6dc62c0978877 (patch) | |
tree | a58b02428e36f06fe2a91c84a982d7fc924d51be /net-mgmt/collectd/files/patch-configure.in | |
parent | - Add MEMCACHED, PYTHON, TOKYOTYRANT options [1] (diff) |
- 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 <ports@bsdserwis.com> (maintainer) [1]
Notes
Notes:
svn path=/head/; revision=288055
Diffstat (limited to 'net-mgmt/collectd/files/patch-configure.in')
-rw-r--r-- | net-mgmt/collectd/files/patch-configure.in | 20 |
1 files changed, 20 insertions, 0 deletions
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"], |