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 {
|
stdenv.mkDerivation rec {
|
||||||
name = "pcmanx-gtk2-1.3";
|
name = "pcmanx-gtk2-${version}";
|
||||||
src = fetchurl {
|
version = "1.3";
|
||||||
url = "https://github.com/pcman-bbs/pcmanx/archive/1.3.tar.gz";
|
|
||||||
sha256 = "2e5c59f6b568036f2ad6ac67ca2a41dfeeafa185451e507f9fb987d4ed9c4302";
|
src = fetchFromGitHub {
|
||||||
|
owner = "pcman-bbs";
|
||||||
|
repo = "pcmanx";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0fbwd149wny67rfhczz4cbh713a1qnswjiz7b6c2bxfcwh51f9rc";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
@ -12,6 +16,8 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
./autogen.sh
|
./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; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user