Remove unneeded code

Removed the machine.conf code.
Didn't even know what this was for the longest time and still have no idea how to even make the file.
pull/7/head
Thorn Inurcide 7 years ago committed by GitHub
parent cfd53514bc
commit fc4abb006c

@ -64,12 +64,6 @@ SOURCE=$SRCDIR/${PRGNAM}-${VERSION}.${ARCHIVE_TYPE:-"tar.bz2"}
# SRCURL for non-TDE archives, set in the SB, will override the Trinity default *tar.bz2 URL
SRCURL=${SRCURL:-"http://$TDE_MIRROR/releases/${VERSION}$TDEMIR_SUBDIR/${PRGNAM}-${VERSION}.tar.bz2"}
# You can use your own private machine.conf file to overrule machine defaults:
if [ -e $SRCDIR/machine.conf ]; then
. $SRCDIR/machine.conf
elif [ -e /etc/slackbuild/machine.conf ]; then
. /etc/slackbuild/machine.conf
else
# Automatically determine the architecture we're building on:
MARCH=$( uname -m )
# uname -m will give the wrong architecture if 32bit with 64bit kernel
@ -102,7 +96,6 @@ else
SLKLDFLAGS=${SLKLDFLAGS:-""}; LIBDIRSUFFIX=${LIBDIRSUFFIX:-""}
;;
esac
fi
case "$ARCH" in
arm*) TARGET=$ARCH-slackware-linux-gnueabi ;;

Loading…
Cancel
Save