mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 15:08:57 +02:00
libiodbc, add libVersionCompat, disable static library (#8155)
This commit is contained in:
@@ -8,20 +8,23 @@ COPYRIGHT="1995 Ke Jin
|
|||||||
1996-2014 OpenLink Software"
|
1996-2014 OpenLink Software"
|
||||||
LICENSE="GNU LGPL v2
|
LICENSE="GNU LGPL v2
|
||||||
BSD (3-clause)"
|
BSD (3-clause)"
|
||||||
REVISION="1"
|
REVISION="2"
|
||||||
SOURCE_URI="https://sf.net/projects/iodbc/files/iodbc/$portVersion/libiodbc-$portVersion.tar.gz"
|
SOURCE_URI="https://sf.net/projects/iodbc/files/iodbc/$portVersion/libiodbc-$portVersion.tar.gz"
|
||||||
CHECKSUM_SHA256="51c5ff3a7d9a54202486cb77a3514e0e379a135beefcd5d12b96d1901f9dfb62"
|
CHECKSUM_SHA256="51c5ff3a7d9a54202486cb77a3514e0e379a135beefcd5d12b96d1901f9dfb62"
|
||||||
PATCHES="libiodbc-$portVersion.patchset"
|
PATCHES="libiodbc-$portVersion.patchset"
|
||||||
|
|
||||||
ARCHITECTURES="all ?x86"
|
ARCHITECTURES="all"
|
||||||
SECONDARY_ARCHITECTURES="x86 x86_gcc2"
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||||
|
|
||||||
|
libVersion="2.1.25"
|
||||||
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||||
|
|
||||||
PROVIDES="
|
PROVIDES="
|
||||||
libiodbc$secondaryArchSuffix = $portVersion
|
libiodbc$secondaryArchSuffix = $portVersion
|
||||||
cmd:iodbctest$secondaryArchSuffix = $portVersion
|
cmd:iodbctest$secondaryArchSuffix = $portVersion
|
||||||
cmd:iodbctestw$secondaryArchSuffix = $portVersion
|
cmd:iodbctestw$secondaryArchSuffix = $portVersion
|
||||||
lib:libiodbc$secondaryArchSuffix = $portVersion
|
lib:libiodbc$secondaryArchSuffix = $libVersionCompat
|
||||||
lib:libiodbcinst$secondaryArchSuffix = $portVersion
|
lib:libiodbcinst$secondaryArchSuffix = $libVersionCompat
|
||||||
"
|
"
|
||||||
REQUIRES="
|
REQUIRES="
|
||||||
haiku$secondaryArchSuffix
|
haiku$secondaryArchSuffix
|
||||||
@@ -30,9 +33,8 @@ REQUIRES="
|
|||||||
PROVIDES_devel="
|
PROVIDES_devel="
|
||||||
libiodbc${secondaryArchSuffix}_devel = $portVersion
|
libiodbc${secondaryArchSuffix}_devel = $portVersion
|
||||||
cmd:iodbc_config$secondaryArchSuffix = $portVersion
|
cmd:iodbc_config$secondaryArchSuffix = $portVersion
|
||||||
devel:libiodbc$secondaryArchSuffix = $portVersion
|
devel:libiodbc$secondaryArchSuffix = $libVersionCompat
|
||||||
devel:libiodbcinst$secondaryArchSuffix = $portVersion
|
devel:libiodbcinst$secondaryArchSuffix = $libVersionCompat
|
||||||
devel:libodbc$secondaryArchSuffix = $portVersion
|
|
||||||
"
|
"
|
||||||
REQUIRES_devel="
|
REQUIRES_devel="
|
||||||
libiodbc$secondaryArchSuffix == $portVersion base
|
libiodbc$secondaryArchSuffix == $portVersion base
|
||||||
@@ -49,7 +51,9 @@ BUILD_PREREQUIRES="
|
|||||||
|
|
||||||
BUILD()
|
BUILD()
|
||||||
{
|
{
|
||||||
runConfigure ./configure --with-iodbc-inidir=$settingsDir/etc
|
runConfigure ./configure --with-iodbc-inidir=$settingsDir/etc \
|
||||||
|
--disable-libodbc \
|
||||||
|
--disable-static
|
||||||
make $jobArgs
|
make $jobArgs
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -57,9 +61,11 @@ INSTALL()
|
|||||||
{
|
{
|
||||||
make install
|
make install
|
||||||
|
|
||||||
|
# remove libtool file
|
||||||
|
rm $libDir/*.la
|
||||||
|
|
||||||
prepareInstalledDevelLibs libiodbc \
|
prepareInstalledDevelLibs libiodbc \
|
||||||
libiodbcinst \
|
libiodbcinst
|
||||||
libodbc
|
|
||||||
fixPkgconfig
|
fixPkgconfig
|
||||||
|
|
||||||
packageEntries devel \
|
packageEntries devel \
|
||||||
|
|||||||
Reference in New Issue
Block a user