4d05a286c8
associated with an operating system than with a programming language: concurrent processes, scheduling, memory management, distribution, networking, etc. The initial open-source Erlang release contains the implementation of Erlang, as well as a large part of Ericsson's middleware for building distributed high-availability systems.
27 lines
622 B
Makefile
27 lines
622 B
Makefile
# $NetBSD: options.mk,v 1.1.1.1 2008/04/16 06:11:50 marttikuparinen Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.erlang
|
|
PKG_SUPPORTED_OPTIONS= java erlang-hipe
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mjava)
|
|
USE_JAVA= yes
|
|
USE_JAVA2= yes
|
|
.include "../../mk/java-vm.mk"
|
|
PLIST_SRC+= PLIST.java
|
|
.else
|
|
CONFIGURE_ENV+= JAVAC=none
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Merlang-hipe)
|
|
###
|
|
### XXX Need to check which platforms will enable this by default, if any.
|
|
### Should it be an option?
|
|
###
|
|
PLIST_SUBST+= SMP="@comment "
|
|
CONFIGURE_ARGS+= --enable-hipe
|
|
.else
|
|
PLIST_SUBST+= SMP=""
|
|
CONFIGURE_ARGS+= --disable-hipe
|
|
.endif
|