From 4f14b947cdc461ea8f45f05fb0f50752dbe48be0 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Sat, 12 Dec 2015 10:31:34 +0000 Subject: [PATCH] gmp: fix provides; enable cxx lib. --- dev-libs/gmp/gmp-6.1.0.recipe | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/dev-libs/gmp/gmp-6.1.0.recipe b/dev-libs/gmp/gmp-6.1.0.recipe index dba9eece1..2fa92ff29 100644 --- a/dev-libs/gmp/gmp-6.1.0.recipe +++ b/dev-libs/gmp/gmp-6.1.0.recipe @@ -22,7 +22,8 @@ SECONDARY_ARCHITECTURES="x86" PROVIDES=" gmp$secondaryArchSuffix = $portVersion compat >= 6.0 - lib:libgmp$secondaryArchSuffix = 10.2.0 compat >= 10 + lib:libgmp$secondaryArchSuffix = 10.3.0 compat >= 10 + lib:libgmpxx$secondaryArchSuffix = 4.5.0 compat >= 4 " REQUIRES=" haiku$secondaryArchSuffix @@ -30,7 +31,8 @@ REQUIRES=" PROVIDES_devel=" gmp${secondaryArchSuffix}_devel = $portVersion - devel:libgmp$secondaryArchSuffix = 10.2.0 compat >= 10 + devel:libgmp$secondaryArchSuffix = 10.3.0 compat >= 10 + devel:libgmpxx$secondaryArchSuffix = 4.5.0 compat >= 4 " REQUIRES_devel=" gmp$secondaryArchSuffix == $portVersion base @@ -51,7 +53,7 @@ BUILD() { touch doc/*.info* autoreconf -fi - runConfigure ./configure + runConfigure ./configure --enable-cxx make $jobArgs } @@ -59,8 +61,11 @@ INSTALL() { make install includedir=$includeDir includeexecdir=$includeDir + # remove libtool files + rm $libDir/*.la + # prepare devel/lib - prepareInstalledDevelLibs libgmp + prepareInstalledDevelLibs libgmp libgmpxx # devel package packageEntries devel \