mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 14:19:58 +03:00
pcmanx-gtk2: fix build
It fails to build after automake updates to 1.16 because libtoolize generates hardcoded configure script which uses automake 1.15
This commit is contained in:
parent
5eb88ec7f0
commit
209d455583
@ -1,10 +1,14 @@
|
||||
{ stdenv, fetchurl, gtk2, libXft, intltool, automake, autoconf, libtool, pkgconfig }:
|
||||
{ stdenv, fetchFromGitHub, gtk2, libXft, intltool, automake, autoconf, libtool, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "pcmanx-gtk2-1.3";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/pcman-bbs/pcmanx/archive/1.3.tar.gz";
|
||||
sha256 = "2e5c59f6b568036f2ad6ac67ca2a41dfeeafa185451e507f9fb987d4ed9c4302";
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pcmanx-gtk2-${version}";
|
||||
version = "1.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pcman-bbs";
|
||||
repo = "pcmanx";
|
||||
rev = version;
|
||||
sha256 = "0fbwd149wny67rfhczz4cbh713a1qnswjiz7b6c2bxfcwh51f9rc";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
@ -12,6 +16,8 @@ stdenv.mkDerivation {
|
||||
|
||||
preConfigure = ''
|
||||
./autogen.sh
|
||||
# libtoolize generates configure script which uses older version of automake, we need to autoreconf it
|
||||
cd libltdl; autoreconf; cd ..
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user