gmp: fix provides; enable cxx lib.

This commit is contained in:
Jerome Duval
2015-12-12 10:31:34 +00:00
parent bbe15a77f5
commit 4f14b947cd

View File

@@ -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 \