New port - add Orc - the Oil Runtime Compiler.

This commit is contained in:
Cian Duffy
2012-07-15 16:50:38 +00:00
parent 579b3301b1
commit b09bbbcc47
2 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
DESCRIPTION="orc - The Oil Runtime Compiler"
HOMEPAGE="http://code.entropywave.com/orc/"
SRC_URI="http://code.entropywave.com/download/orc/orc-0.4.16.tar.gz"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
CHECKSUM_MD5="e482932e544c847761449b106ecbc483"
BUILD {
cd orc-0.4.16
autoconf
COMMON_DOCS=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
--datadir=`finddir B_COMMON_DATA_DIRECTORY` \
--mandir=$COMMON_DOCS/man
make
}
INSTALL {
cd orc-0.4.16
make install
}
LICENSE="BSD (2-clause)"
COPYRIGHT="2002 - 2009 David A. Schleef"

View File

@@ -0,0 +1,11 @@
--- orc-0.4.16/configure.ac 2011-10-03 03:34:22.054788096 +0000
+++ orc-0.4.16-haiku/configure.ac 2012-04-08 21:58:47.729808896 +0000
@@ -97,7 +97,7 @@
mingw*|pw32*|cygwin*)
AC_DEFINE(HAVE_CODEMEM_VIRTUALALLOC, 1, [Use VirtualAlloc to allocate code for execution])
;;
- linux*|darwin*|solaris*|netbsd*|freebsd*|openbsd*|kfreebsd*|dragonfly*|gnu*)
+ linux*|darwin*|solaris*|netbsd*|freebsd*|openbsd*|kfreebsd*|dragonfly*|gnu*|haiku*)
AC_DEFINE(HAVE_CODEMEM_MMAP, 1, [Use mmap to allocate code for execution])
;;
*)