mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 01:37:35 +00:00
Ports: Replace hardcoded Build/ paths with SERENITY_BUILD_DIR
Fixes #5710.
This commit is contained in:
parent
f45e16a6a2
commit
f318ab6bed
29 changed files with 65 additions and 74 deletions
|
@ -6,11 +6,5 @@ files="https://github.com/mtoyoda/sl/archive/master.tar.gz sl-git.tar.gz"
|
|||
depends="ncurses"
|
||||
|
||||
build() {
|
||||
run ${CC} -I${SERENITY_ROOT}/Build/Root/usr/local/include/ncurses -L${SERENITY_ROOT}/Build/Root/usr/local/lib -o sl sl.c -lncurses -ltinfo
|
||||
}
|
||||
|
||||
post_install() {
|
||||
# Dirty hack that seems to be necessary to make ncurses play nice
|
||||
mkdir -p ${SERENITY_ROOT}/Build/Root/usr/local/share/terminfo/x
|
||||
cp ${SERENITY_ROOT}/Build/Root/usr/local/share/terminfo/78/xterm ${SERENITY_ROOT}/Build/Root/usr/local/share/terminfo/x/
|
||||
run ${CC} -I${SERENITY_BUILD_DIR}/Root/usr/local/include/ncurses -L${SERENITY_BUILD_DIR}/Root/usr/local/lib -o sl sl.c -lncurses -ltinfo
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue