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

@@ -13,12 +13,7 @@ LICENSE="
COPYRIGHT="1988-2013 Free Software Foundation, Inc."
ARCHITECTURES="x86 x86_64 arm"
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"
fi
ARCHITECTURES="!x86_gcc2 x86 x86_64 arm"
SECONDARY_ARCHITECTURES="x86"
targetArch="arm-none-eabi"

View File

@@ -15,12 +15,7 @@ LICENSE="
COPYRIGHT="1988-2013 Free Software Foundation, Inc."
ARCHITECTURES="x86 x86_64 arm"
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"
fi
ARCHITECTURES="!x86_gcc2 x86 x86_64 arm"
SECONDARY_ARCHITECTURES="x86"
targetArch="arm-none-eabi"

View File

@@ -15,12 +15,7 @@ LICENSE="
COPYRIGHT="1988-2013 Free Software Foundation, Inc."
ARCHITECTURES="x86 x86_64 arm"
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"
fi
ARCHITECTURES="!x86_gcc2 x86 x86_64 arm"
SECONDARY_ARCHITECTURES="x86"
targetArch="arm-none-eabi"

View File

@@ -13,12 +13,7 @@ LICENSE="
COPYRIGHT="1988-2013 Free Software Foundation, Inc."
ARCHITECTURES="x86 x86_64 arm"
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"
fi
ARCHITECTURES="!x86_gcc2 x86 x86_64 arm"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="

View File

@@ -16,12 +16,7 @@ LICENSE="
COPYRIGHT="1988-2013 Free Software Foundation, Inc."
ARCHITECTURES="x86 x86_64 arm"
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"
fi
ARCHITECTURES="!x86_gcc2 x86 x86_64 arm"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="

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

View File

@@ -10,12 +10,7 @@ LICENSE="
"
COPYRIGHT="1988-2013 Free Software Foundation, Inc."
ARCHITECTURES="x86 x86_64"
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"
fi
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="

View File

@@ -13,12 +13,7 @@ LICENSE="
COPYRIGHT="1988-2013 Free Software Foundation, Inc."
ARCHITECTURES="x86 x86_64 arm"
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"
fi
ARCHITECTURES="!x86_gcc2 x86 x86_64 arm"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="

View File

@@ -13,12 +13,7 @@ LICENSE="
COPYRIGHT="1988-2015 Free Software Foundation, Inc."
ARCHITECTURES="x86 x86_64 arm"
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"
fi
ARCHITECTURES="!x86_gcc2 x86 x86_64 arm"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="

View File

@@ -13,12 +13,7 @@ LICENSE="
COPYRIGHT="1988-2014 Free Software Foundation, Inc."
ARCHITECTURES="x86 x86_64 arm"
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"
fi
ARCHITECTURES="!x86_gcc2 x86 x86_64 arm"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="

View File

@@ -1,4 +1,4 @@
SUMMARY="A llvm front end compiler for C and C++"
SUMMARY="A llvm front end compiler for C and C++"
DESCRIPTION="
Clang is an 'LLVM native' C/C++/Objective-C compiler, which aims to deliver \
amazingly fast compiles (e.g. about 3x faster than GCC when compiling \
@@ -16,10 +16,7 @@ SOURCE_URI_2="http://llvm.org/releases/${portVersion}/clang-${portVersion}.src.t
CHECKSUM_SHA256_2="2aaaf03f7c0f6b16fe97ecc81247dc2bf2d4bec7620a77cc74670b7e07ff5658"
REVISION="1"
ARCHITECTURES="?x86 ?x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
fi
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
@@ -61,7 +58,7 @@ BUILD()
cp -rd $sourceDir2/clang-${portVersion}.src/* tools/clang/
#cp -r /boot/system/data/libtool/config/. autoconf/
#cp -r /boot/system/data/libtool/config/. projects/sample/autoconf/
# Haiku C++ requires rtti in a lot of central system components
# such as Mesa
export REQUIRES_RTTI=1

View File

@@ -18,10 +18,7 @@ CHECKSUM_SHA256_2="22a9780db3b85a7f2eb9ea1f7f6e00da0249e3d12851e8dea0f62f1783242
REVISION="2"
ARCHITECTURES="x86 x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
fi
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="

View File

@@ -21,10 +21,7 @@ CHECKSUM_SHA256_3="e8d011250389cfc36eb51557ca25ae66ab08173e8d53536a0747356105d72
REVISION="1"
ARCHITECTURES="x86 x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
fi
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="

View File

@@ -11,11 +11,7 @@ srcGitRev="e5a1aa929a5e26ccff8d56228634ef6ba0078212"
SOURCE_URI="https://github.com/haiku/buildtools/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="1e19de45203765ff494649b25df44aa1cb13a787c55ed57d3d18f8d95ff72397"
REVISION="1"
ARCHITECTURES="x86_gcc2"
if [ $effectiveTargetArchitecture = x86_gcc2 -a $targetArchitecture = x86 ]
then
ARCHITECTURES="$ARCHITECTURES x86"
fi
ARCHITECTURES="x86_gcc2 !x86"
SECONDARY_ARCHITECTURES="x86_gcc2"
PROVIDES="
@@ -129,8 +125,8 @@ INSTALL()
echo "Moving libraries around"
# Move/copy libraries such that copies of static libraries (libgcc.a)
# exist in $developLibDir. These are put into a separate package
# Move/copy libraries such that copies of static libraries (libgcc.a)
# exist in $developLibDir. These are put into a separate package
# (gcc_syslibs_devel), which is used by Haiku's build system.
mkdir -p $libDir
mkdir -p $developLibDir

View File

@@ -12,11 +12,7 @@ srcGitRev="d86116d57a09505802ed6a38adc43ef294f7f364"
SOURCE_URI="https://github.com/haiku/buildtools/archive/$srcGitRev.tar.gz"
SOURCE_FILENAME="gcc-$portVersion.tar.gz"
REVISION="3"
ARCHITECTURES="x86_gcc2"
if [ $effectiveTargetArchitecture = x86_gcc2 -a $targetArchitecture = x86 ]
then
ARCHITECTURES="$ARCHITECTURES x86"
fi
ARCHITECTURES="x86_gcc2 !x86"
SECONDARY_ARCHITECTURES="x86_gcc2"
PROVIDES="
@@ -130,8 +126,8 @@ INSTALL()
echo "Moving libraries around"
# Move/copy libraries such that copies of static libraries (libgcc.a)
# exist in $developLibDir. These are put into a separate package
# Move/copy libraries such that copies of static libraries (libgcc.a)
# exist in $developLibDir. These are put into a separate package
# (gcc_syslibs_devel), which is used by Haiku's build system.
mkdir -p $libDir
mkdir -p $developLibDir

View File

@@ -14,12 +14,7 @@ LICENSE="
COPYRIGHT="1988-2013 Free Software Foundation, Inc."
PATCHES="gcc-4.8.3_2014_05_28.patchset"
ARCHITECTURES="x86 x86_64 arm"
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"
fi
ARCHITECTURES="!x86_gcc2 x86 x86_64 arm"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="

View File

@@ -17,12 +17,7 @@ if [ $effectiveTargetArchitecture = x86_64 ]; then
PATCHES="gcc-4.8.3_buildfixes_for_x86_64.patchset"
fi
ARCHITECTURES="x86 x86_64 arm"
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"
fi
ARCHITECTURES="!x86_gcc2 x86 x86_64 arm"
SECONDARY_ARCHITECTURES="x86"
libstdcxxSoVersion="6"

View File

@@ -17,12 +17,7 @@ if [ $effectiveTargetArchitecture = x86_64 ]; then
PATCHES="gcc-4.8.3_buildfixes_for_x86_64.patchset"
fi
ARCHITECTURES="x86 x86_64 arm"
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"
fi
ARCHITECTURES="!x86_gcc2 x86 x86_64 arm"
SECONDARY_ARCHITECTURES="x86"
libstdcxxSoVersion="6"

View File

@@ -19,12 +19,7 @@ else
PATCHES="gcc-4.8.5_2015_07_11_for_x86.patchset"
fi
ARCHITECTURES="x86 x86_64 arm"
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"
fi
ARCHITECTURES="!x86_gcc2 x86 x86_64 arm"
SECONDARY_ARCHITECTURES="x86"
libstdcxxSoVersion="6"

View File

@@ -15,12 +15,7 @@ COPYRIGHT="1988-2015 Free Software Foundation, Inc."
PATCHES="gcc5-5.2.0_2015_07_27.patchset"
ARCHITECTURES="!x86 x86_64 arm"
#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"
#fi
ARCHITECTURES="!x86_gcc2 !x86 x86_64 arm"
SECONDARY_ARCHITECTURES="!x86"
libstdcxxSoVersion="6"
@@ -117,7 +112,7 @@ BUILD()
$additionalConfigureFlags
make $jobArgs
echo "######################## building special libraries ################"
echo "### libgcc"
@@ -186,7 +181,7 @@ INSTALL()
echo "Moving libraries around"
# Move/copy libraries such that copies of the runtime (shared) libs exist
# Move/copy libraries such that copies of the runtime (shared) libs exist
# in $libDir and copies of static libraries exist in $developLibDir. These
# are put into separate packages gcc_syslibs and gcc_syslibs_devel, which
# are both used by Haiku's build system.
@@ -221,7 +216,7 @@ INSTALL()
$gccLibDir/libgcc_s.so.$libgccSoVersion \
$libDir/
cp $gccLibDir/libgcc*.a $developLibDir/
# gcc and c++ headers
mkdir -p $includeDir/gcc
cp -r $gccLibDir/include $includeDir/gcc/
@@ -269,7 +264,7 @@ INSTALL()
for f in c++ cc cpp g++ gcc gcov; do
symlinkRelative -sfn $installDir/bin/$f $binDir
done
### Cleanup ###############################################
echo "Cleanup"
@@ -295,7 +290,7 @@ INSTALL()
$relativeDevelopLibDir/libsupc++.a \
$relativeDevelopLibDir/libsupc++-kernel.a \
$relativeIncludeDir
rm -rf $includeDir
rm -rf $developLibDir
}

View File

@@ -15,12 +15,7 @@ COPYRIGHT="1988-2015 Free Software Foundation, Inc."
PATCHES="gcc6-6.0.0_2015_07_17.patchset"
ARCHITECTURES="!x86 x86_64 arm"
#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"
#fi
ARCHITECTURES="!x86_gcc2 !x86 x86_64 arm"
SECONDARY_ARCHITECTURES="!x86"
libstdcxxSoVersion="6"
@@ -117,7 +112,7 @@ BUILD()
$additionalConfigureFlags
make $jobArgs
echo "######################## building special libraries ################"
echo "### libgcc"
@@ -186,7 +181,7 @@ INSTALL()
echo "Moving libraries around"
# Move/copy libraries such that copies of the runtime (shared) libs exist
# Move/copy libraries such that copies of the runtime (shared) libs exist
# in $libDir and copies of static libraries exist in $developLibDir. These
# are put into separate packages gcc_syslibs and gcc_syslibs_devel, which
# are both used by Haiku's build system.
@@ -221,7 +216,7 @@ INSTALL()
$gccLibDir/libgcc_s.so.$libgccSoVersion \
$libDir/
cp $gccLibDir/libgcc*.a $developLibDir/
# gcc and c++ headers
mkdir -p $includeDir/gcc
cp -r $gccLibDir/include $includeDir/gcc/
@@ -269,7 +264,7 @@ INSTALL()
for f in c++ cc cpp g++ gcc gcov; do
symlinkRelative -sfn $installDir/bin/$f $binDir
done
### Cleanup ###############################################
echo "Cleanup"
@@ -295,7 +290,7 @@ INSTALL()
$relativeDevelopLibDir/libsupc++.a \
$relativeDevelopLibDir/libsupc++-kernel.a \
$relativeIncludeDir
rm -rf $includeDir
rm -rf $developLibDir
}

View File

@@ -13,12 +13,7 @@ REVISION="1"
LICENSE="MIT"
COPYRIGHT="2010-2013 Ingo Weinhold"
ARCHITECTURES="x86"
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"
fi
ARCHITECTURES="!x86_gcc2 x86"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="

View File

@@ -83,12 +83,7 @@ HOMEPAGE="http://www.llvm.org/"
LICENSE="UIUC"
REVISION="1"
ARCHITECTURES="x86"
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"
fi
ARCHITECTURES="!x86_gcc2 x86"
SECONDARY_ARCHITECTURES="x86"
SOURCE_URI="http://llvm.org/releases/3.0/llvm-3.0.tar.gz"

View File

@@ -5,10 +5,7 @@ HOMEPAGE="http://www.llvm.org/"
LICENSE="UIUC"
REVISION="2"
ARCHITECTURES="x86 x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
fi
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
SOURCE_URI="http://llvm.org/releases/${portVersion}/llvm-${portVersion}.src.tar.gz"

View File

@@ -1,15 +1,12 @@
SUMMARY="Modular and reuseable compiler and toolchain technologies"
SUMMARY="Modular and reuseable compiler and toolchain technologies"
DESCRIPTION="LLVM is a collection of modular and reuseable compiler and \
toolchain technologies."
HOMEPAGE="http://www.llvm.org/"
LICENSE="UIUC"
REVISION="1"
ARCHITECTURES="!x86 !x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
fi
SECONDARY_ARCHITECTURES="!x86"
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="?x86"
SOURCE_URI="http://llvm.org/releases/${portVersion}/llvm-${portVersion}.src.tar.gz"
CHECKSUM_SHA256="68766b1e70d05a25e2f502e997a3cb3937187a3296595cf6e0977d5cd6727578"
@@ -48,7 +45,7 @@ BUILD()
# Haiku C++ requires rtti in a lot of central system components
# such as Mesa
export REQUIRES_RTTI=1
runConfigure ./configure --enable-optimized
runConfigure ./configure --enable-optimized
make $jobArgs
}

View File

@@ -5,10 +5,7 @@ HOMEPAGE="http://www.llvm.org/"
LICENSE="UIUC"
REVISION="1"
ARCHITECTURES="x86 x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
fi
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
COPYRIGHT="2003-2013 University of Illinois at Urbana-Champaign"

View File

@@ -5,10 +5,7 @@ HOMEPAGE="http://www.llvm.org/"
LICENSE="UIUC"
REVISION="4"
ARCHITECTURES="x86 x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
fi
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
SOURCE_URI="http://llvm.org/releases/${portVersion}/llvm-${portVersion}.src.tar.gz"

View File

@@ -6,10 +6,7 @@ HOMEPAGE="http://www.llvm.org/"
LICENSE="UIUC"
REVISION="1"
ARCHITECTURES="x86 x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
fi
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
SOURCE_URI="http://llvm.org/releases/${portVersion}/llvm-${portVersion}.src.tar.gz"

View File

@@ -9,10 +9,7 @@ COPYRIGHT="2003-2014 University of Illinois at Urbana-Champaign"
SOURCE_URI="http://llvm.org/releases/${portVersion}/llvm-${portVersion}.src.tar.xz"
CHECKSUM_SHA256="28e199f368ef0a4666708f31c7991ad3bcc3a578342b0306526dd35f07595c03"
REVISION="1"
ARCHITECTURES="x86 x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
fi
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="

View File

@@ -9,10 +9,7 @@ COPYRIGHT="2003-2014 University of Illinois at Urbana-Champaign"
SOURCE_URI="http://llvm.org/releases/${portVersion}/llvm-${portVersion}.src.tar.xz"
CHECKSUM_SHA256="bf3275d2d7890015c8d8f5e6f4f882f8cf3bf51967297ebe74111d6d8b53be15"
REVISION="1"
ARCHITECTURES="x86 x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
fi
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="

View File

@@ -9,10 +9,7 @@ COPYRIGHT="2003-2014 University of Illinois at Urbana-Champaign"
SOURCE_URI="http://llvm.org/releases/${portVersion}/llvm-${portVersion}.src.tar.xz"
CHECKSUM_SHA256="44196156d5749eb4b4224fe471a29cc3984df92570a4a89fa859f7394fc0c575"
REVISION="1"
ARCHITECTURES="x86 x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
fi
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="

View File

@@ -9,12 +9,7 @@ LICENSE="Open Watcom Public Licence v1.0"
COPYRIGHT="1983-2002 Sybase, Inc."
REVISION="1"
ARCHITECTURES=""
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"
fi
ARCHITECTURES="!x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
SOURCE_URI="ftp://ftp.openwatcom.org/source/open_watcom_$portVersion-src.tar.bz2"

View File

@@ -9,12 +9,7 @@ LICENSE="Open Watcom Public Licence v1.0"
COPYRIGHT="1983-2002 Sybase, Inc."
REVISION="1"
ARCHITECTURES=""
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"
fi
ARCHITECTURES="!x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
SOURCE_URI="git@github.com:open-watcom/open-watcom-v2.git#ca9213e7973593caf73b50cc2185db8d1cef185c"