mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +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:
@@ -4,7 +4,7 @@ Artistic Style is a filter written in C++ that automatically re-indents and \
|
||||
re-formats C / C++ / C# / Java source files. It can be used from a command \
|
||||
line, or it can be incorporated as classes in another C++ program.
|
||||
"
|
||||
HOMEPAGE="http://astyle.sourceforge.net"
|
||||
HOMEPAGE="http://astyle.sourceforge.net"
|
||||
SOURCE_URI="http://sourceforge.net/projects/astyle/files/astyle/astyle%20${portVersion}/astyle_${portVersion}_linux.tar.gz"
|
||||
CHECKSUM_SHA256="da34eb1f8f12e6f50f1cf674944c0db70c91b203008e11be0f57aa8267823a39"
|
||||
LICENSE="GNU LGPL v3"
|
||||
@@ -15,15 +15,7 @@ COPYRIGHT="
|
||||
"
|
||||
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86 x86_64 arm ppc"
|
||||
|
||||
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
||||
# x86_gcc2 is fine as primary target architecture as long as we're building
|
||||
# for a different secondary architecture.
|
||||
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
|
||||
else
|
||||
ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
|
||||
fi
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64 arm ppc"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
# On x86_gcc2 we don't want to install the commands in bin/<arch>/, but in bin/.
|
||||
|
||||
Reference in New Issue
Block a user