3
0
Fork 0
forked from mirrors/nixpkgs

hwloc 1.1.

svn path=/nixpkgs/trunk/; revision=25483
This commit is contained in:
Ludovic Courtès 2011-01-10 09:55:14 +00:00
parent 2b464d6e13
commit 52eb2ed976
2 changed files with 3 additions and 16 deletions

View file

@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, cairo, expat, ncurses }:
stdenv.mkDerivation rec {
name = "hwloc-1.0";
name = "hwloc-1.1";
src = fetchurl {
url = "http://www.open-mpi.org/software/hwloc/v1.0/downloads/${name}.tar.bz2";
sha256 = "1s64w026idxrkf0y56q4cybapz7yldn1xycnfh1d5bj7v7ncds21";
url = "http://www.open-mpi.org/software/hwloc/v1.1/downloads/${name}.tar.bz2";
sha256 = "0l31yhcpq6bjsamxk0lqlidv9j43vg7m7906zdb5aj18i085ymyv";
};
buildInputs = [ pkgconfig cairo expat ncurses ];

View file

@ -1,13 +0,0 @@
Help `configure' find `tparm' in libncurses.
--- a/config/hwloc.m4 2010-04-19 14:25:53.000000000 +0200
+++ b/config/hwloc.m4 2010-04-19 14:24:23.000000000 +0200
@@ -285,7 +285,7 @@ EOF])
LIBS=
AC_CHECK_HEADERS([curses.h], [
AC_CHECK_HEADERS([term.h], [
- AC_SEARCH_LIBS([tparm], [termcap curses], [
+ AC_SEARCH_LIBS([tparm], [ncurses termcap curses], [
AC_SUBST([HWLOC_TERMCAP_LIBS], ["$LIBS"])
AC_DEFINE([HWLOC_HAVE_LIBTERMCAP], [1],
[Define to 1 if you have a library providing the termcap interface])