mirror of
https://github.com/RGBCube/serenity
synced 2025-07-30 03:27:45 +00:00
Ports: Unbreak and update oksh
This port has been broken since the introduction of `sys_signame` (which was almost 3 months ago), as oksh provided a conflicting definition for it. This commit also cleans up some of the patches, defining the appropriate config macro instead of commenting out code. When I opened this program's GitHub releases page, I noticed that a new version was available, so I also did the update.
This commit is contained in:
parent
2530b6adf0
commit
05cb72e2c3
7 changed files with 119 additions and 134 deletions
|
@ -1,16 +1,17 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port=oksh
|
||||
useconfigure=true
|
||||
version=6.8.1
|
||||
version=7.0
|
||||
depends=("ncurses")
|
||||
workdir=oksh-${version}
|
||||
files="https://github.com/ibara/oksh/releases/download/oksh-${version}/oksh-${version}.tar.gz oksh-${version}.tar.gz ddd2b27b99009a4ee58ddf58da73edf83962018066ccf33b2fe1f570a00917b0"
|
||||
files="https://github.com/ibara/oksh/releases/download/oksh-${version}/oksh-${version}.tar.gz oksh-${version}.tar.gz 21d5891f38ffea3a5d1aa8c494f0a5579c93778535e0a92275b102dec3221da1"
|
||||
auth_type=sha256
|
||||
|
||||
export CPPFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/ncurses"
|
||||
|
||||
configure() {
|
||||
export CC=${SERENITY_SOURCE_DIR}/Toolchain/Local/${SERENITY_ARCH}/bin/${SERENITY_ARCH}-pc-serenity-gcc
|
||||
export CFLAGS=""
|
||||
export LDFLAGS="-lncurses"
|
||||
export LDFLAGS="-lncurses"
|
||||
run ./configure --no-thanks
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue