nixpkgs/pkgs
Maximilian Bosch 6d6cbd316d pythonmagick: fix build (#46469)
The original build broke with the following linker issue:

```
  CXXLD    _PythonMagick.la
/nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/ld: cannot find -l-L/nix/store/4gh6ynzsd5ndx37hmkl62xa8z30k43y1-imagemagick-6.9.9-34/lib
collect2: error: ld returned 1 exit status
```

This happens since `BOOST_PYTHON_LIB` wasn't set properly, however
`_PythonMagick.la` was linked with `-l$(BOOST_PYTHON_LIB)
$(MAGICK_LIBS)`. With an empty `BOOST_PYTHON_LIB` the linker got
confused.

To work around this, the `boost` library directory needs to be specified
explicitly. To ensure that the changes take effect, the original
`configure` script shipped with `$src` needs to be removed and recreated
using the `autoreconfHook`.

Additionally the `imagemagick` license (https://spdx.org/licenses/ImageMagick.html)
needs to be added to `lib/licenses.nix` to document the proper license
of `pythonmagick` in the meta section.
2018-09-10 11:59:51 +02:00
..
applications pythonmagick: fix build (#46469) 2018-09-10 11:59:51 +02:00
build-support Merge branch 'no-toPath' 2018-09-06 08:09:53 -04:00
common-updater
data osinfo-db: 20180531 -> 20180903 2018-09-09 21:22:39 +02:00
desktops dde-calendar: init at 1.2.5 (#46460) 2018-09-10 08:48:02 +02:00
development Merge pull request #46368 from Ma27/fix-mahotas 2018-09-10 11:56:50 +02:00
games Merge pull request #43470 from numinit/df 2018-09-09 13:27:12 -05:00
misc vim-plugins: add missing update.py 2018-09-09 23:19:41 +01:00
os-specific ZHF 18.09: fix crypsetup build with python enabled. (#46468) 2018-09-10 11:53:45 +02:00
servers metabase: 0.30.0 -> 0.30.1 2018-09-09 23:33:02 -05:00
shells zsh: 5.5.1 -> 5.6 (#46052) 2018-09-04 23:32:43 +02:00
stdenv Merge pull request #46148 from obsidiansystems/plain-system-host 2018-09-06 09:37:20 -04:00
test
tools Merge pull request #46289 from r-ryantm/auto-update/duplicity 2018-09-10 08:34:56 +02:00
top-level Merge pull request #46368 from Ma27/fix-mahotas 2018-09-10 11:56:50 +02:00