mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
zsh, enable 32bit (#7710)
This commit is contained in:
@@ -7,7 +7,7 @@ HOMEPAGE="https://www.zsh.org/"
|
||||
COPYRIGHT="1992-2020 The Zsh Development Group"
|
||||
LICENSE="ZSH
|
||||
GNU GPL v2"
|
||||
REVISION="3"
|
||||
REVISION="4"
|
||||
SOURCE_URI="https://downloads.sf.net/zsh/zsh-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="b6973520bace600b4779200269b1e5d79e5f505ac4952058c11ad5bbf0dd9919"
|
||||
SOURCE_URI_2="https://downloads.sf.net/zsh/zsh-$portVersion-doc.tar.xz"
|
||||
@@ -19,7 +19,15 @@ ADDITIONAL_FILES="
|
||||
zshrc
|
||||
"
|
||||
|
||||
ARCHITECTURES="all ?x86"
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
commandBinDir=$binDir
|
||||
commandSuffix=$secondaryArchSuffix
|
||||
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
commandSuffix=
|
||||
commandBinDir=$prefix/bin
|
||||
fi
|
||||
|
||||
GLOBAL_WRITABLE_FILES="
|
||||
settings/zsh directory keep-old
|
||||
@@ -39,35 +47,35 @@ USER_SETTINGS_FILES="
|
||||
"
|
||||
|
||||
PROVIDES="
|
||||
zsh = $portVersion compat >= 5
|
||||
cmd:zsh = $portVersion compat >= 5
|
||||
cmd:zsh_$portVersion = $portVersion compat >= 5
|
||||
zsh$secondaryArchSuffix = $portVersion compat >= 5
|
||||
cmd:zsh$commandSuffix = $portVersion compat >= 5
|
||||
cmd:zsh_$portVersion$commandSuffix = $portVersion compat >= 5
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
lib:libgdbm
|
||||
lib:libiconv
|
||||
lib:libncursesw
|
||||
lib:libpcre
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libgdbm$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libncursesw$secondaryArchSuffix
|
||||
lib:libpcre$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_doc="
|
||||
zsh_doc = $portVersion
|
||||
zsh${secondaryArchSuffix}_doc = $portVersion
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
devel:libgdbm
|
||||
devel:libiconv
|
||||
devel:libncursesw
|
||||
devel:libpcre
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libgdbm$secondaryArchSuffix
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
devel:libncursesw$secondaryArchSuffix
|
||||
devel:libpcre$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:autoreconf
|
||||
cmd:awk
|
||||
cmd:col
|
||||
cmd:find
|
||||
cmd:gcc
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:grep
|
||||
cmd:make
|
||||
cmd:man
|
||||
@@ -89,7 +97,8 @@ BUILD()
|
||||
autoupdate
|
||||
autoreconf -vfi
|
||||
|
||||
runConfigure ./configure \
|
||||
runConfigure --omit-dirs binDir ./configure \
|
||||
--bindir=$commandBinDir \
|
||||
--htmldir="$developDocDir/html" \
|
||||
--enable-etcdir="$sysconfDir/zsh" \
|
||||
--enable-zshenv="$sysconfDir/zsh/zshenv" \
|
||||
|
||||
Reference in New Issue
Block a user