mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user