mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
libffi, remove static libraries (#7544)
This commit is contained in:
@@ -7,7 +7,7 @@ plugins."
|
||||
HOMEPAGE="http://sourceware.org/libffi"
|
||||
COPYRIGHT="1996-2013 Anthony Green, Red Hat, Inc and others."
|
||||
LICENSE="MIT"
|
||||
REVISION="3"
|
||||
REVISION="4"
|
||||
SOURCE_URI="ftp://sourceware.org/pub/libffi/libffi-3.0.13.tar.gz"
|
||||
CHECKSUM_SHA256="1dddde1400c3bcb7749d398071af88c3e4754058d2d4c0b3696c2f82dc5cf11c"
|
||||
PATCHES="libffi-$portVersion.patchset"
|
||||
@@ -42,7 +42,7 @@ BUILD_PREREQUIRES="
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure
|
||||
runConfigure ./configure --disable-static
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
@@ -50,6 +50,9 @@ INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
# remove libtool file
|
||||
rm $libDir/libffi.la
|
||||
|
||||
mkdir -p $includeDir
|
||||
mv -f $libDir/libffi-$portVersion/include/*.h* $includeDir
|
||||
rm -rf $libDir/libffi-$portVersion
|
||||
|
||||
@@ -7,7 +7,7 @@ plugins."
|
||||
HOMEPAGE="https://sourceware.org/libffi"
|
||||
COPYRIGHT="1996-2021 Anthony Green, Red Hat, Inc and others."
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/libffi/libffi/releases/download/v$portVersion/libffi-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="540fb721619a6aba3bdeef7d940d8e9e0e6d2c193595bc243241b77ff9e93620"
|
||||
PATCHES="libffi-$portVersion.patchset"
|
||||
@@ -42,7 +42,7 @@ BUILD_PREREQUIRES="
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure
|
||||
runConfigure ./configure --disable-static
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
@@ -50,9 +50,8 @@ INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
# remove libtool fille
|
||||
rm $libDir/libffi.la
|
||||
mkdir -p $includeDir
|
||||
rm -rf $libDir/libffi-$portVersion
|
||||
|
||||
prepareInstalledDevelLibs libffi
|
||||
fixPkgconfig
|
||||
|
||||
Reference in New Issue
Block a user