sys-devel/lemon: drop commandSuffix, simplify PROVIDES.

This commit is contained in:
fbrosson
2018-09-28 02:59:40 +00:00
parent 32601253ea
commit 6d0d6ab49a

View File

@@ -21,19 +21,19 @@ SOURCE_DIR_2=""
SOURCE_DIR_3=""
ARCHITECTURES="!x86_gcc2 x86 x86_64"
if [ "$targetArchitecture" = x86_gcc2 ]; then
SECONDARY_ARCHITECTURES="x86"
fi
# 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="
lemon$secondaryArchSuffix = $portVersion
cmd:lemon$commandSuffix = 1.0 compat >= 1
cmd:lemon = 1.0 compat >= 1
"
REQUIRES="
haiku$secondaryArchSuffix