Ricardo Wurmus <[email protected]> skribis:

> From 16e9535b2dad21cd585b6da94296f94164103de0 Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <[email protected]>
> Date: Thu, 16 Apr 2015 15:16:57 +0200
> Subject: [PATCH 1/2] gnu: Add bamtools.
>
> * gnu/packages/bioinformatics.scm (bamtools): New variable.

OK.

> From c65294547718078189bc920be8e5b07d57470060 Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <[email protected]>
> Date: Thu, 16 Apr 2015 15:18:10 +0200
> Subject: [PATCH 2/2] gnu: Add eXpress.
>
> * gnu/packages/bioinformatics.scm (express): New variable.

[...]

> +       (alist-cons-after
> +        'unpack 'use-shared-boost-libs-and-set-bamtools-paths
> +        (lambda* (#:key inputs #:allow-other-keys)
> +          (substitute* "CMakeLists.txt"
> +            (("set\\(Boost_USE_STATIC_LIBS ON\\)")
> +             "set(Boost_USE_STATIC_LIBS OFF)")

I think the same effect can be achieved by passing
-DBoost_USE_STATIC_LIBS=OFF to cmake (i.e., as #:configure-flags.)
It might be slightly more elegant, but no big deal.

OK!

Ludo’.

Reply via email to