mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
guile: fix build on 32 bit x86 (#6125)
* guile: fix build on 32 bit x86 * add missing commandSuffix to provides
This commit is contained in:
@@ -18,9 +18,11 @@ SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
commandSuffix=$secondaryArchSuffix
|
||||
commandBinDir=$binDir
|
||||
relativeCommandBinDir=$relativeBinDir
|
||||
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
commandSuffix=
|
||||
commandBinDir=$prefix/bin
|
||||
relativeCommandBinDir=bin
|
||||
fi
|
||||
|
||||
libguileVersion="1.4.2"
|
||||
@@ -66,7 +68,7 @@ REQUIRES_tools="
|
||||
|
||||
PROVIDES_devel="
|
||||
guile${secondaryArchSuffix}_devel = $portVersionCompat
|
||||
cmd:guile_config$secondaryArchSuffix = $portVersion
|
||||
cmd:guile_config$commandSuffix = $portVersion
|
||||
devel:libguile_$portVers$secondaryArchSuffix = $libguileVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
@@ -97,7 +99,7 @@ BUILD_PREREQUIRES="
|
||||
"
|
||||
|
||||
defineDebugInfoPackage guile$secondaryArchSuffix \
|
||||
$(getPackagePrefix tools)/"$relativeBinDir"/guile \
|
||||
$(getPackagePrefix tools)/"$relativeCommandBinDir"/guile \
|
||||
"$libDir"/libguile-$portVers.so.$libguileVersion
|
||||
|
||||
BUILD()
|
||||
@@ -134,7 +136,7 @@ INSTALL()
|
||||
"$manDir"
|
||||
|
||||
packageEntries devel \
|
||||
"$binDir"/guile-config \
|
||||
"$commandBinDir"/guile-config \
|
||||
"$dataDir"/aclocal \
|
||||
"$developDir"
|
||||
}
|
||||
|
||||
@@ -19,9 +19,11 @@ SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
commandSuffix=$secondaryArchSuffix
|
||||
commandBinDir=$binDir
|
||||
relativeCommandBinDir=$relativeBinDir
|
||||
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
commandSuffix=
|
||||
commandBinDir=$prefix/bin
|
||||
relativeCommandBinDir=bin
|
||||
fi
|
||||
|
||||
libguileVersion="17.4.0"
|
||||
@@ -104,7 +106,7 @@ BUILD_PREREQUIRES="
|
||||
"
|
||||
|
||||
defineDebugInfoPackage guile1$secondaryArchSuffix \
|
||||
$(getPackagePrefix tools)/"$relativeBinDir"/guile \
|
||||
$(getPackagePrefix tools)/"$relativeCommandBinDir"/guile \
|
||||
"$libDir"/libguile.so.$libguileVersion \
|
||||
"$libDir"/libguilereadline-v-17.so.17.0.3 \
|
||||
"$libDir"/libguile-srfi-srfi-1-v-3.so.3.0.2 \
|
||||
|
||||
Reference in New Issue
Block a user