WIP recipe for Open Watcom.

Build fails after the bootstrapping stage, as executables compiled with
Watcom tools crash the runtime loader.
This commit is contained in:
Adrien Destugues
2014-07-15 19:42:20 +02:00
parent d3de5b0594
commit fa8b6518bd
2 changed files with 928 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
SUMMARY="C/C++ compiler targetting DOS and Win16/32 machines"
DESCRIPTION="
Open Watcom is a project of the open source community to maintain and enhance \
the Watcom C, C++, and Fortran cross compilers and tools. An Open Source \
license from Sybase allows free commercial and non-commercial use of Open\
Watcom."
HOMEPAGE="http://openwatcom.org"
LICENSE="Open Watcom Public Licence v1.0"
COPYRIGHT="Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved."
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
SECONDARY_ARCHITECTURES="!x86"
SRC_URI="ftp://ftp.openwatcom.org/source/open_watcom_$portVersion-src.tar.bz2"
CHECKSUM_SHA256="6d303327988ee2dda60cfabebf3f45a9758aee4da117d41cf3153fccb7e5e4bf"
SOURCE_DIR="OW19"
PATCHES="openwatcom-$portVersion.patchset"
PROVIDES="
openwatcom$secondaryArchSuffix = $portVersion
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
cmd:awk
cmd:cc$secondaryArchSuffix
cmd:make
cmd:which
"
BUILD()
{
./build.sh
}
INSTALL()
{
false
}
TEST()
{
false
}