fixup! openlibm: init at 0.4.1

This commit is contained in:
Thomas Tuegel 2015-10-10 12:55:08 -05:00
parent 1d32078b22
commit f9e7011626
2 changed files with 1 additions and 17 deletions

View File

@ -7,10 +7,7 @@ stdenv.mkDerivation {
sha256 = "0cwqqqlblj3kzp9aq1wnpfs1fl0qd1wp1xzm5shb09w06i4rh9nn";
};
patches = [ ./openlibm-prefix.patch ];
postPatch = ''
substituteAllInPlace Make.inc
'';
makeFlags = [ "prefix=$(out)" ];
meta = {
description = "High quality system independent, portable, open source libm implementation";

View File

@ -1,13 +0,0 @@
diff --git a/Make.inc b/Make.inc
index 83d9612..e951c56 100644
--- a/Make.inc
+++ b/Make.inc
@@ -7,7 +7,7 @@ VERSION = 0.4
SOMAJOR = 1
SOMINOR = 0
DESTDIR =
-prefix = /usr/local
+prefix = @out@
bindir = $(prefix)/bin
libdir = $(prefix)/lib
includedir = $(prefix)/include