lol
at 18.03-beta 26 lines 780 B view raw
1{stdenv, fetchurl}: 2 3stdenv.mkDerivation rec { 4 name = "STLport-5.2.1"; 5 6 src = fetchurl { 7 url = "mirror://sourceforge/stlport/${name}.tar.bz2"; 8 sha256 = "1jbgak1m1qk7d4gyn1p2grbws2icsf7grbs3dh44ai9ck1xh0nvm"; 9 }; 10 11 # fix hardcoded /usr/bin; not recognizing the standard --disable-static flag 12 configurePhase = '' 13 echo Preconf: build/Makefiles/gmake/*/sys.mak 14 for f in build/Makefiles/gmake/*/sys.mak; do 15 substituteInPlace "$f" --replace /usr/bin/ "" 16 done 17 ./configure --prefix=$out 18 ''; 19 20 meta = { 21 description = "An implementation of the C++ Standard Library"; 22 homepage = https://sourceforge.net/projects/stlport/; 23 license = stdenv.lib.licenses.free; # seems BSD-like 24 broken = true; # probably glibc-2.20 -related issue 25 }; 26}