forked from mirrors/nixpkgs
Merge pull request #80905 from bennofs/update-gnulib
gnulib: 20190811 -> 20200223 and simplify usage
This commit is contained in:
commit
93f5b02c4f
|
@ -2,12 +2,12 @@
|
|||
|
||||
stdenv.mkDerivation {
|
||||
pname = "gnulib";
|
||||
version = "20190811";
|
||||
version = "20200223";
|
||||
|
||||
src = fetchgit {
|
||||
url = https://git.savannah.gnu.org/r/gnulib.git;
|
||||
rev = "6430babe47ece6953cf18ef07c1d8642c8588e89";
|
||||
sha256 = "14kgykbjly03dlb25sllcfcrpk7zkypa449gr3zbqv4rhpmnzizg";
|
||||
rev = "292fd5d6ff5ecce81ec3c648f353732a9ece83c0";
|
||||
sha256 = "0hkg3nql8nsll0vrqk4ifda0v4kpi67xz42r8daqsql6c4rciqnw";
|
||||
};
|
||||
|
||||
dontFixup = true;
|
||||
|
|
|
@ -19,20 +19,18 @@ stdenv.mkDerivation rec {
|
|||
--replace "AC_PREREQ([2.62])" "AC_PREREQ([2.63])"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
nativeBuildInputs = [
|
||||
autoconf automake gettext git gnulib
|
||||
help2man libtool perl pkgconfig texinfo
|
||||
];
|
||||
|
||||
configurePhase = ''
|
||||
cp -r "${gnulib}" gnulib
|
||||
chmod a+rX,u+w -R gnulib
|
||||
./bootstrap --gnulib-srcdir=gnulib
|
||||
./bootstrap --gnulib-srcdir=${gnulib}
|
||||
./configure --prefix="$out"
|
||||
'';
|
||||
|
||||
buildInputs = [
|
||||
libX11 libXScrnSaver libXext
|
||||
libX11 libXScrnSaver libXext
|
||||
];
|
||||
|
||||
meta = {
|
||||
|
|
|
@ -83,12 +83,9 @@ stdenv.mkDerivation rec {
|
|||
|
||||
unset CPP # setting CPP intereferes with dependency calculation
|
||||
|
||||
cp -r ${gnulib} $PWD/gnulib
|
||||
chmod u+w -R $PWD/gnulib
|
||||
|
||||
patchShebangs .
|
||||
|
||||
./bootstrap --no-git --gnulib-srcdir=$PWD/gnulib
|
||||
./bootstrap --no-git --gnulib-srcdir=${gnulib}
|
||||
|
||||
substituteInPlace ./configure --replace '/usr/share/fonts/unifont' '${unifont}/share/fonts'
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue