Remove some macOS leftovers

We only build on Linux nowadays
This commit is contained in:
Fredrik Fornwall 2017-01-20 11:10:59 +01:00
parent c19f681f45
commit 2911ab9295
2 changed files with 0 additions and 15 deletions

View File

@ -64,7 +64,6 @@ termux_setup_golang() {
local TERMUX_GO_VERSION=go1.8rc1 local TERMUX_GO_VERSION=go1.8rc1
local TERMUX_GO_PLATFORM=linux-amd64 local TERMUX_GO_PLATFORM=linux-amd64
test "$(uname)" = "Darwin" && TERMUX_GO_PLATFORM=darwin-amd64
local TERMUX_BUILDGO_FOLDER=$TERMUX_COMMON_CACHEDIR/${TERMUX_GO_VERSION}.${TERMUX_GO_PLATFORM} local TERMUX_BUILDGO_FOLDER=$TERMUX_COMMON_CACHEDIR/${TERMUX_GO_VERSION}.${TERMUX_GO_PLATFORM}
export GOROOT=$TERMUX_BUILDGO_FOLDER export GOROOT=$TERMUX_BUILDGO_FOLDER
@ -211,8 +210,6 @@ termux_step_setup_variables() {
export TERMUX_TAR="tar" export TERMUX_TAR="tar"
export TERMUX_TOUCH="touch" export TERMUX_TOUCH="touch"
test "$(uname)" = "Darwin" && TERMUX_TAR=gtar
test "$(uname)" = "Darwin" && TERMUX_TOUCH=gtouch
export prefix=${TERMUX_PREFIX} export prefix=${TERMUX_PREFIX}
export PREFIX=${TERMUX_PREFIX} export PREFIX=${TERMUX_PREFIX}
export PKG_CONFIG_LIBDIR=$TERMUX_PREFIX/lib/pkgconfig export PKG_CONFIG_LIBDIR=$TERMUX_PREFIX/lib/pkgconfig

View File

@ -23,18 +23,6 @@ termux_step_post_make_install () {
mkdir ncursesw mkdir ncursesw
cd ncursesw cd ncursesw
ln -s ../{ncurses.h,termcap.h,panel.h,unctrl.h,menu.h,form.h,tic.h,nc_tparm.h,term.h,eti.h,term_entry.h,ncurses_dll.h,curses.h} . ln -s ../{ncurses.h,termcap.h,panel.h,unctrl.h,menu.h,form.h,tic.h,nc_tparm.h,term.h,eti.h,term_entry.h,ncurses_dll.h,curses.h} .
if [ `uname` = Darwin ]; then
cd $TERMUX_PREFIX/share/terminfo
for l in *; do
if [ ${#l} -eq 2 ]; then
char=`echo 0x$l | /usr/bin/awk '{printf "%c\n", $1}'`
rm -Rf $char
mv $l $char
fi
done
cd -
fi
} }
termux_step_post_massage () { termux_step_post_massage () {