irc/weechat*: cmake/Find(Python|Ruby|etc).cmake don't respect version from bsd.(python|ruby|etc).mk

Anonymous swell.k at gmail.com
Thu Oct 7 02:54:24 UTC 2010


Anonymous <swell.k at gmail.com> writes:

>   $ export PYTHON_DEFAULT_VERSION=python2.7
>   $ make install deinstall WITH_PYTHON=
>   ...
>   ===>   Deinstalling weechat-0.3.3_1
>   pkg_delete: file '/usr/local/lib/weechat/plugins/python.so' doesn't exist
>
> And excerpt from CMakeCache.txt

Oops, read as

  And excerpt from CMakeCache.txt when several version of python
  installed while retaining python2.7 as the default

>   //Path to a program.
>   PYTHON_EXECUTABLE:FILEPATH=/usr/local/bin/python
>
>   //Path to a file.
>   PYTHON_INCLUDE_PATH:PATH=/usr/local/include/python2.5
>
>   //Path to a library.
>   PYTHON_LIBRARY:FILEPATH=/usr/local/lib/libpython2.6.so
>
>   //Dependencies for the target
>   python_LIB_DEPENDS:STATIC=general;/usr/local/lib/libpython2.6.so;general;weechat_scripts;

As for the case when only python2.7 is installed the contents are

  //Path to a program.
  PYTHON_EXECUTABLE:FILEPATH=PYTHON_EXECUTABLE-NOTFOUND


More information about the freebsd-ports mailing list