diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2002-07-15 15:50:44 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2002-07-15 15:50:44 +0000 |
commit | 169b9965a70ceb9debfd30a514e4d47a842d8ecb (patch) | |
tree | 6b644b9250875299a04f46cefe9d433c182f4a2c /lang | |
parent | f81e4c331d2381c16eaf1a35af2e668fd5faf238 (diff) | |
download | ports-169b9965a70ceb9debfd30a514e4d47a842d8ecb.tar.gz ports-169b9965a70ceb9debfd30a514e4d47a842d8ecb.zip |
Notes
Diffstat (limited to 'lang')
-rw-r--r-- | lang/erlang/Makefile | 9 | ||||
-rw-r--r-- | lang/erlang14/Makefile | 9 |
2 files changed, 18 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} diff --git a/lang/erlang14/Makefile b/lang/erlang14/Makefile index 58e085c867f0..91879ac6ba8b 100644 --- a/lang/erlang14/Makefile +++ b/lang/erlang14/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} |