db, remove libtools files and disable static libraries (#7621)

This commit is contained in:
Schrijvers Luc
2022-12-24 09:47:13 +01:00
committed by GitHub
parent adfa4a2eab
commit f6189df0e8
2 changed files with 12 additions and 4 deletions

View File

@@ -8,7 +8,7 @@ COPYRIGHT="1990-2013, Oracle
1996-1996, The President and Fellows of Harvard University
2000-2005, INRIA - France Telecom"
LICENSE="SleepyCat"
REVISION="2"
REVISION="3"
SOURCE_URI="http://download.oracle.com/berkeley-db/db-$portVersion.tar.gz"
CHECKSUM_SHA256="608e4b1cf390e9bf54c0ef00c5bd9ca76d36e2261b9f4d33d54516f3f6a20fd2"
SOURCE_DIR="db-${portVersion}"
@@ -68,7 +68,8 @@ BUILD_PREREQUIRES="
BUILD()
{
cd build_unix
runConfigure ../dist/configure --enable-cxx
runConfigure ../dist/configure --enable-cxx \
--disable-static
make $jobArgs
}
@@ -77,6 +78,9 @@ INSTALL()
cd build_unix
make install
# remove libtool files
rm $libDir/*.la
# prepare develop/lib
prepareInstalledDevelLibs libdb libdb-6.0 libdb_cxx libdb_cxx-6.0
fixPkgconfig

View File

@@ -8,7 +8,7 @@ COPYRIGHT="1990-2013, Oracle
1996-1996, The President and Fellows of Harvard University
2000-2005, INRIA - France Telecom"
LICENSE="SleepyCat"
REVISION="3"
REVISION="4"
SOURCE_URI="http://download.oracle.com/berkeley-db/db-$portVersion.tar.gz"
CHECKSUM_SHA256="822e1591f7f535c5eb16389fbd5c1f14877a9561674cc1d497f1db318ef86107"
SOURCE_DIR="db-${portVersion}"
@@ -68,7 +68,8 @@ BUILD_PREREQUIRES="
BUILD()
{
cd build_unix
runConfigure ../dist/configure --enable-cxx
runConfigure ../dist/configure --enable-cxx \
--disable-static
make $jobArgs
}
@@ -77,6 +78,9 @@ INSTALL()
cd build_unix
make install
# remove libtool files
rm $libDir/*.la
# prepare develop/lib
prepareInstalledDevelLibs libdb libdb-6.1 libdb_cxx libdb_cxx-6.1
fixPkgconfig