diff options
author | olgeni <olgeni@FreeBSD.org> | 2002-07-15 23:50:44 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2002-07-15 23:50:44 +0800 |
commit | 3b3f86af6f7390e1af05b903810a034599c499cd (patch) | |
tree | ce84a6521ce84ffe04e61725e2e30611aab0dccb /lang/erlang | |
parent | f07aeb3c5fe9be634f59df08aeea0e22111ceaae (diff) | |
download | freebsd-ports-gnome-3b3f86af6f7390e1af05b903810a034599c499cd.tar.gz freebsd-ports-gnome-3b3f86af6f7390e1af05b903810a034599c499cd.tar.zst freebsd-ports-gnome-3b3f86af6f7390e1af05b903810a034599c499cd.zip |
Add support for WITH_ERLANG_THREADS (enables threaded I/O).
Diffstat (limited to 'lang/erlang')
-rw-r--r-- | lang/erlang/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile index 58e085c867f0..91879ac6ba8b 100644 --- a/lang/erlang/Makefile +++ b/lang/erlang/Makefile @@ -50,6 +50,10 @@ USE_GMAKE= yes USE_PERL5= yes GNU_CONFIGURE= yes +.if defined(WITH_ERLANG_THREADS) +CONFIGURE_ARGS+= --enable-threads +.endif + .if !defined(WITHOUT_JAVA) # The Java applications that are part of the Erlang distribution are # not strictly necessary - it is included for completeness sake. A @@ -72,6 +76,11 @@ SCRIPT_ENV+= PATH=${PATH}:${JAVABINDIR} post-patch: @cd ${WRKSRC} && ${CAT} ${FILESDIR}/post-patch-configure | ${PATCH} +pre-extract: +.if !defined(WITH_ERLANG_THREADS) + @${ECHO_MSG} "You can enable support for threaded I/O by defining WITH_ERLANG_THREADS." +.endif + pre-configure: # Regenerate erts configuration script cd ${WRKSRC}/erts && ${AUTOCONF} |