ncbi_tools: mark as broken and remove -fPIC

PIC is used by default since 16.09
This commit is contained in:
Robin Gloster 2017-03-30 15:44:20 +02:00
parent 9b89d68ef0
commit b9948fedc6
No known key found for this signature in database
GPG Key ID: 5E4C836C632C2882

View File

@ -9,16 +9,14 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "ncbi_tools"; name = "ncbi_tools";
ncbi_version="Dec_31_2008"; ncbi_version = "Dec_31_2008";
src = fetchurl { src = fetchurl {
url = "ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools++/2008/${ncbi_version}/ncbi_cxx--${ncbi_version}.tar.gz"; url = "ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools++/2008/${ncbi_version}/ncbi_cxx--${ncbi_version}.tar.gz";
sha256 = "1b2v0dcdqn3bysgdkj57sxmd6s0hc9wpnxssviz399g6plhxggbr"; sha256 = "1b2v0dcdqn3bysgdkj57sxmd6s0hc9wpnxssviz399g6plhxggbr";
}; };
configureFlags = "--without-debug --with-bin-release --with-dll --without-static"; configureFlags = "--without-debug --with-bin-release --with-dll --without-static";
# PIC flag (position independent code for shared libraries) buildInputs = [ cpio ];
NIX_CXXFLAGS_COMPILE = if stdenv.system == "x86_64-linux" then "-fPIC" else "";
buildInputs = [cpio];
meta = { meta = {
description = ''NCBI Bioinformatics toolbox (incl. BLAST)''; description = ''NCBI Bioinformatics toolbox (incl. BLAST)'';
@ -26,5 +24,6 @@ stdenv.mkDerivation rec {
homepage = http://www.ncbi.nlm.nih.gov/IEB/ToolBox/; homepage = http://www.ncbi.nlm.nih.gov/IEB/ToolBox/;
license = "GPL"; license = "GPL";
priority = "5"; # zlib.so gives a conflict with zlib priority = "5"; # zlib.so gives a conflict with zlib
broken = true;
}; };
} }