Rewrite ARCHITECTURES syntax to new HaikuPorter changes.

HaikuPorter now does not care what is in ARCHITECTURES when
building for a SECONDARY_ARCHITECTURE.
This commit is contained in:
Augustin Cavalier
2015-08-04 11:59:44 -04:00
parent 23faff5dbc
commit 55dd9cf19d
304 changed files with 377 additions and 1991 deletions

View File

@@ -8,11 +8,7 @@ LICENSE="
"
COPYRIGHT="1988-2006 Free Software Foundation, Inc."
ARCHITECTURES="x86_gcc2"
if [ $effectiveTargetArchitecture = x86_gcc2 -a $targetArchitecture = x86 ]
then
ARCHITECTURES="$ARCHITECTURES x86"
fi
ARCHITECTURES="x86_gcc2! x86"
SECONDARY_ARCHITECTURES="x86_gcc2"
PROVIDES="
@@ -93,7 +89,7 @@ INSTALL()
rm -r $developDir/headers
### HTML documentation ####################################
echo "Organizing HTML documentation..."
cd $docDir
@@ -113,13 +109,13 @@ INSTALL()
rm -r $infoDir
### Strip #################################################
echo "Strip debug info"
cd $prefix
find bin -type f | xargs -r strip --strip-debug
strip --strip-debug $installDir/$archName/bin/*
### Symlinks ##############################################
echo "Creating required symlinks"
@@ -131,7 +127,7 @@ INSTALL()
done
### Cleanup #################################################
echo "Cleanup"
# delete man pages for commands that we aren't including