From b09bbbcc47a97e0795c6ab8990dddffa275bbd12 Mon Sep 17 00:00:00 2001 From: Cian Duffy Date: Sun, 15 Jul 2012 16:50:38 +0000 Subject: [PATCH] New port - add Orc - the Oil Runtime Compiler. --- dev-lang/orc/orc-0.4.16.bep | 24 ++++++++++++++++++++++++ dev-lang/orc/patches/orc-0.4.16.patch | 11 +++++++++++ 2 files changed, 35 insertions(+) create mode 100644 dev-lang/orc/orc-0.4.16.bep create mode 100644 dev-lang/orc/patches/orc-0.4.16.patch diff --git a/dev-lang/orc/orc-0.4.16.bep b/dev-lang/orc/orc-0.4.16.bep new file mode 100644 index 000000000..d86af92c5 --- /dev/null +++ b/dev-lang/orc/orc-0.4.16.bep @@ -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" \ No newline at end of file diff --git a/dev-lang/orc/patches/orc-0.4.16.patch b/dev-lang/orc/patches/orc-0.4.16.patch new file mode 100644 index 000000000..68a87ff5a --- /dev/null +++ b/dev-lang/orc/patches/orc-0.4.16.patch @@ -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]) + ;; + *)