spack/var/spack/repos/builtin/packages/bcl2fastq2/cxxConfigure-cmake.patch
George Hartzell daaa37c1ff Package for bcl2fastq2 (updates libxslt) (#4234)
* Add v1.1.26 and make crypto a variant

I need 1.1.26 for bcl2fastq2.

I also need to build it without crypto support.

* Initial support for bcl2fastq2

* Clean up commentary, messages, names

No substantial changes intended, just cleanup.

* fix flake8 and extra import

* The masked grammarian strikes again...

* Be normal (messages don't end in periods)

* When +crypto, add --with-crypto

Add `--with-crypto` to configure args when user hasn't explicitly set
`~crypto`.

* self.spec.satisfies is unsatisfying, in is in instead

See #4135, self.spec.satisfies has issues.  @adamjstewart suggests
simply using in.
2017-05-17 20:57:23 -05:00

13 lines
635 B
Diff

--- a/src/cmake/cxxConfigure.cmake 2017-05-11 16:55:14.745107845 -0700
+++ b/src/cmake/cxxConfigure.cmake 2017-05-11 17:16:39.355981745 -0700
@@ -101,6 +101,9 @@
if((NOT HAVE_LIBXML2) OR (NOT HAVE_LIBXSLT))
find_package_version(LibXml2 ${BCL2FASTQ_LIBXML2_VERSION})
find_package_version(LibXslt ${BCL2FASTQ_LIBXSLT_VERSION})
+ # macro isn't ONLY for redist, see its definition...
+ string(REGEX REPLACE "/include$" "" LIBEXSLT_HINT ${LIBXSLT_INCLUDE_DIR})
+ find_library_redist(LIBEXSLT ${LIBEXSLT_HINT} libexslt/exslt.h exslt)
endif((NOT HAVE_LIBXML2) OR (NOT HAVE_LIBXSLT))
if((NOT HAVE_LIBXML2) OR (NOT HAVE_LIBXSLT))