mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
libffi: fix hybrid build.
This commit is contained in:
@@ -5,6 +5,9 @@ A portable, high level programming interface to various calling conventions.
|
||||
HOMEPAGE="http://sourceware.org/libffi"
|
||||
SRC_URI="ftp://sourceware.org/pub/libffi/libffi-3.0.13.tar.gz"
|
||||
CHECKSUM_MD5="45f3b6dbc9ee7c7dfbbbc5feba571529"
|
||||
CHECKSUM_SIZE="845747"
|
||||
CHECKSUM_RMD160="03f0627c0fcc800d38636258a2fab2d6bb8b6625"
|
||||
CHECKSUM_SHA512="fc47f5d25197c631754efe05a349edb556d072807ecef19b41f17c1a8f39c95221be64926fbd05b1f8439181df1ddff8fc01462ce3a26005b75159ddc27e6f6a"
|
||||
COPYRIGHT="1996-2013 Anthony Green, Red Hat, Inc and others."
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
@@ -18,7 +21,7 @@ PROVIDES="
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
@@ -28,6 +31,7 @@ BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:awk
|
||||
"
|
||||
|
||||
BUILD()
|
||||
@@ -41,8 +45,8 @@ INSTALL()
|
||||
make install
|
||||
|
||||
mkdir -p $includeDir
|
||||
mv -f $libDir/$portVersionedName/include/*.h* $includeDir
|
||||
rm -rf $libDir/$portVersionedName
|
||||
mv -f $libDir/libffi-$portVersion/include/*.h* $includeDir
|
||||
rm -rf $libDir/libffi-$portVersion
|
||||
|
||||
prepareInstalledDevelLibs libffi
|
||||
fixPkgconfig
|
||||
|
||||
Reference in New Issue
Block a user