mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-02 21:18:51 +02:00
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:
50
sys-devel/openwatcom/openwatcom-1.9.0.recipe
Normal file
50
sys-devel/openwatcom/openwatcom-1.9.0.recipe
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user