refactor to use autoreconfHook where possible

Close #12446.
This commit is contained in:
Robin Gloster
2016-01-17 23:04:40 +00:00
committed by Vladimír Čunát
parent 620c147cce
commit 53b389327e
50 changed files with 188 additions and 320 deletions

View File

@@ -1,5 +1,5 @@
{ stdenv, fetchgit,autoconf, automake, gcc, fltk13
, libjpeg, libpng, libtool, mesa, pkgconfig }:
{ stdenv, fetchgit, autoreconfHook, fltk13
, libjpeg, libpng, mesa, pkgconfig }:
stdenv.mkDerivation {
name = "solvespace-2.0";
@@ -14,27 +14,15 @@ stdenv.mkDerivation {
dontBuild = true;
enableParallelBuilding = false;
buildInputs = [
autoconf
automake
gcc
buildInputs = [
autoreconfHook
fltk13
libjpeg
libpng
libtool
mesa
pkgconfig
stdenv
];
preConfigure = ''
aclocal
libtoolize
autoreconf -i
automake --add-missing
'';
meta = {
description = "A parametric 3d CAD program";
license = stdenv.lib.licenses.gpl3;