From 049811e4202ebdf6b18417fbeb5cea6dd0edd122 Mon Sep 17 00:00:00 2001 From: Ed Robbins Date: Tue, 7 Jan 2014 12:21:04 +0000 Subject: [PATCH] gmp: fix requires, move headers to /devlop/headers. readline: fix requires. --- dev-libs/gmp/gmp-5.1.1.recipe | 15 ++++++++++++--- sys-libs/readline/readline-6.2.recipe | 2 +- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/dev-libs/gmp/gmp-5.1.1.recipe b/dev-libs/gmp/gmp-5.1.1.recipe index b9bc4c46a..94e64a811 100644 --- a/dev-libs/gmp/gmp-5.1.1.recipe +++ b/dev-libs/gmp/gmp-5.1.1.recipe @@ -1,6 +1,13 @@ SUMMARY="GMP - GNU Multiple Precision Arithmetic Library" DESCRIPTION=" -GMP - GNU Multiple Precision Arithmetic Library +The GNU Multiple Precision Arithmetic Library (GMP) is a free library for \ +arbitrary-precision arithmetic, operating on signed integers, rational numbers, \ +and floating point numbers. There are no practical limits to the precision \ +except the ones implied by the available memory in the machine GMP runs on \ +(operand dimension limit is 2^(32)-1 bits on 32-bit machines and 2^37 bits on \ +64-bit machines). GMP has a rich set of functions, and the functions have a \ +regular interface. The basic interface is for C but wrappers exist for other \ +languages including Ada, C++, C#, OCaml, Perl, PHP, and Python. \ " HOMEPAGE="http://gmplib.org/" SRC_URI="ftp://ftp.gmplib.org/pub/gmp-5.1.1/gmp-5.1.1.tar.xz" @@ -18,12 +25,14 @@ PROVIDES="cmd:gmp$secondaryArchSuffix = $portVersion compat >= 5.1 REQUIRES="haiku$secondaryArchSuffix >= $haikuVersion" BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel >= $haikuVersion + " +BUILD_PREREQUIRES=" cmd:gcc$secondaryArchSuffix cmd:libtool cmd:autoconf cmd:automake cmd:make - " +" BUILD() { @@ -37,7 +46,7 @@ BUILD() INSTALL() { - make install + make install includedir=$includeDir includeexecdir=$includeDir # prepare devel/lib prepareInstalledDevelLibs libgmp diff --git a/sys-libs/readline/readline-6.2.recipe b/sys-libs/readline/readline-6.2.recipe index db322d227..8f3c0f185 100644 --- a/sys-libs/readline/readline-6.2.recipe +++ b/sys-libs/readline/readline-6.2.recipe @@ -31,10 +31,10 @@ REQUIRES=" lib:libncurses$secondaryArchSuffix " BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion devel:libncurses$secondaryArchSuffix " BUILD_PREREQUIRES=" - haiku${secondaryArchSuffix}_devel >= $haikuVersion cmd:aclocal cmd:autoconf cmd:gcc$secondaryArchSuffix