From 53b389327e34de319dc0dbda2b6bcab1a69db69d Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Sun, 17 Jan 2016 23:04:40 +0000 Subject: refactor to use autoreconfHook where possible Close #12446. --- pkgs/applications/graphics/solvespace/default.nix | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) (limited to 'pkgs/applications/graphics/solvespace') diff --git a/pkgs/applications/graphics/solvespace/default.nix b/pkgs/applications/graphics/solvespace/default.nix index 67513bcf9230..069eea3b521b 100644 --- a/pkgs/applications/graphics/solvespace/default.nix +++ b/pkgs/applications/graphics/solvespace/default.nix @@ -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; -- cgit 1.4.1