mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
gmp: fix provides; enable cxx lib.
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user