diff options
author | Linus Groh <mail@linusgroh.de> | 2021-03-11 19:50:44 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-03-11 21:01:29 +0100 |
commit | f318ab6bed4603a18198b36da682b6fd36a68f91 (patch) | |
tree | 8e602fa2cc198f8a457c8fcf2c20f61ad63eebc9 /Ports/sl | |
parent | f45e16a6a219e50124c57d031bd7738717c956af (diff) | |
download | serenity-f318ab6bed4603a18198b36da682b6fd36a68f91.zip |
Ports: Replace hardcoded Build/ paths with SERENITY_BUILD_DIR
Fixes #5710.
Diffstat (limited to 'Ports/sl')
-rwxr-xr-x | Ports/sl/package.sh | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Ports/sl/package.sh b/Ports/sl/package.sh index 6b55fe8c20..5f65a08a7e 100755 --- a/Ports/sl/package.sh +++ b/Ports/sl/package.sh @@ -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 } |