3
0
Fork 0
forked from mirrors/nixpkgs

treewide: Remove unnecessary --disable-static (#66759)

* freetype: Remove unnecessary `--disable-static`.

The true-by-default `dontDisableStatic` already takes care of it.

Fixes freetype not being overridable to have static libs.

* treewide: Remove unnecessary `--disable-static`.

The true-by-default `dontDisableStatic` already takes care of it.

Fixes these packages not being overridable to have static libs.
This commit is contained in:
Niklas Hambüchen 2019-08-31 14:10:53 +02:00 committed by Samuel Leathers
parent 98662eba0e
commit 9e78f76ade
20 changed files with 6 additions and 23 deletions

View file

@ -61,7 +61,6 @@ stdenv.mkDerivation rec {
"--localstatedir=/var"
"--sysconfdir=/etc"
"--disable-tests"
"--disable-static"
"--disable-dmrc"
] ++ optional withQt4 "--enable-liblightdm-qt"
++ optional withQt5 "--enable-liblightdm-qt5";

View file

@ -82,7 +82,6 @@ stdenv.mkDerivation rec {
'';
configureFlags = [
"--disable-static"
"--disable-staticbins"
];

View file

@ -20,7 +20,6 @@ stdenv.mkDerivation rec {
configureFlags = [
"--prefix=$(out)"
"--disable-static"
];
preConfigure = ''

View file

@ -58,7 +58,6 @@ stdenv.mkDerivation rec {
configureFlags = [
"--with-x"
"--disable-static"
"--enable-shape"
"--enable-sm"
"--enable-startup-notification"

View file

@ -37,7 +37,6 @@ stdenv.mkDerivation {
configureFlags =
[ "--enable-shared"
"--disable-static"
"--enable-fortran"
"--enable-optimize"
"--with-pic=yes"

View file

@ -272,7 +272,7 @@ stdenv.mkDerivation rec {
* Build flags
*/
# On some ARM platforms --enable-thumb
"--enable-shared --disable-static"
"--enable-shared"
(enableFeature true "pic")
(if stdenv.cc.isClang then "--cc=clang" else null)
(enableFeature smallBuild "small")

View file

@ -89,7 +89,6 @@ stdenv.mkDerivation rec {
"--enable-version3"
# Build flags
"--enable-shared"
"--disable-static"
(ifMinVer "0.6" "--enable-pic")
(enableFeature runtimeCpuDetectBuild "runtime-cpudetect")
"--enable-hardcoded-tables"

View file

@ -25,7 +25,7 @@ stdenv.mkDerivation {
outputBin = "dev"; # fftw-wisdom
configureFlags =
[ "--enable-shared" "--disable-static"
[ "--enable-shared"
"--enable-threads"
]
++ optional (precision != "double") "--enable-${precision}"

View file

@ -50,7 +50,7 @@ in stdenv.mkDerivation rec {
outputs = [ "out" "dev" ];
configureFlags = [ "--disable-static" "--bindir=$(dev)/bin" "--enable-freetype-config" ];
configureFlags = [ "--bindir=$(dev)/bin" "--enable-freetype-config" ];
# native compiler to generate building tool
CC_BUILD = "${buildPackages.stdenv.cc}/bin/cc";

View file

@ -11,7 +11,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ autoreconfHook ];
configureFlags = [ "--disable-static" "--enable-shared" ];
configureFlags = [ "--enable-shared" ];
meta = with stdenv.lib; {
homepage = https://www.openprinting.org/download/ijs/;

View file

@ -25,7 +25,6 @@ stdenv.mkDerivation rec {
'';
configureFlags = [
"--disable-static"
# "--enable-gtk-doc"
"--enable-man"
"--enable-valgrind-tests"

View file

@ -19,10 +19,6 @@ stdenv.mkDerivation rec {
buildInputs = [ readline texinfo ];
propagatedBuildInputs = [ gdbm gmp libffi ];
configureFlags = [
"--disable-static"
];
setupHook = ./setup-hook.sh;
meta = {

View file

@ -48,7 +48,6 @@ stdenv.mkDerivation {
'';
configureFlags = [
"--disable-static"
"--with-pygi-overrides-dir=${placeholder ''py''}/${python3.sitePackages}/gi/overrides"
];

View file

@ -114,7 +114,7 @@ stdenv.mkDerivation rec {
(if isDarwin || isCygwin then
"--enable-static --disable-shared"
else
"--disable-static --enable-shared")
"--enable-shared")
(enableFeature smallSupport "small")
(enableFeature postprocVisualizerSupport "postproc-visualizer")
(enableFeature unitTestsSupport "unit-tests")

View file

@ -30,7 +30,6 @@ stdenv.mkDerivation rec {
++ optional imwriSupport imagemagick7;
configureFlags = [
"--disable-static"
(optionalString (!ocrSupport) "--disable-ocr")
(optionalString (!imwriSupport) "--disable-imwri")
];

View file

@ -13,7 +13,6 @@ stdenv.mkDerivation rec {
"--with-openssl"
"--with-xerces"
"--with-xalan"
"--disable-static"
];
nativeBuildInputs = [ pkgconfig ];

View file

@ -243,7 +243,7 @@ stdenv.mkDerivation rec {
];
patchFlags = "-p0";
configureFlags = [ "--disable-static" "--enable-dependency-reduction" "--disable-frontend"];
configureFlags = [ "--enable-dependency-reduction" "--disable-frontend"];
postConfigure = ''
echo '#define NIX_ESCI_PREFIX "'${fwdir}'"' >> config.h

View file

@ -51,7 +51,6 @@ stdenv.mkDerivation rec {
configureFlags =
[ "--with-serivec-port=${builtins.toString port}"
"--with-service-name=${serviceName}"
# "--disable-static"
"--with-system-editline"
"--with-fblog=/var/log/firebird"
"--with-fbconf=/etc/firebird"

View file

@ -15,7 +15,6 @@ stdenv.mkDerivation rec {
configureFlags = [
"--enable-library"
"--enable-fuse"
"--disable-static"
];
meta = {

View file

@ -19,7 +19,6 @@ stdenv.mkDerivation {
configureFlags = [
"--enable-dns"
"--enable-geoip"
"--disable-static"
"--enable-shared"
];