mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
lzip: Install to /bin for x86 gcc4
This commit is contained in:
@@ -39,9 +39,17 @@ else
|
||||
fi
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
# On x86_gcc2 we don't want to install the commands in bin/<arch>/, but in bin/.
|
||||
commandSuffix=$secondaryArchSuffix
|
||||
commandBinDir=$binDir
|
||||
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
commandSuffix=
|
||||
commandBinDir=$prefix/bin
|
||||
fi
|
||||
|
||||
PROVIDES="
|
||||
lzip$secondaryArchSuffix = $portVersion
|
||||
cmd:lzip$secondaryArchSuffix = $portVersion
|
||||
cmd:lzip$commandSuffix = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
@@ -62,7 +70,7 @@ BUILD_PREREQUIRES="
|
||||
BUILD()
|
||||
{
|
||||
./configure --prefix=$prefix \
|
||||
--bindir=$binDir \
|
||||
--bindir=$commandBinDir \
|
||||
--datarootdir=$dataRootDir \
|
||||
--infodir=$infoDir \
|
||||
--mandir=$manDir
|
||||
|
||||
Reference in New Issue
Block a user