summaryrefslogtreecommitdiff
path: root/lang/ecl/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ecl/options.mk')
-rw-r--r--lang/ecl/options.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/lang/ecl/options.mk b/lang/ecl/options.mk
index 072128517a1..09fc36619e3 100644
--- a/lang/ecl/options.mk
+++ b/lang/ecl/options.mk
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.8 2012/07/26 22:58:33 asau Exp $
+# $NetBSD: options.mk,v 1.9 2015/12/09 21:00:47 asau Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.ecl
PKG_SUPPORTED_OPTIONS+= debug threads unicode ffi clx
-PKG_SUGGESTED_OPTIONS+= # empty
+PKG_SUGGESTED_OPTIONS+= unicode ffi clx
# Unicode support proved to break Axioms.
# Threads are off, since threaded ECL requires threads support
# in Boehm GC (off by default).
@@ -20,12 +20,13 @@ CONFIGURE_ARGS+= --enable-threads
CONFIGURE_ENV+= THREAD_CFLAGS=${PTHREAD_CFLAGS:Q}
CONFIGURE_ENV+= THREAD_LDLAGS=${BUILDLINK_LDLAGS.pthread:Q}
CONFIGURE_ENV+= THREAD_LIBS=${BUILDLINK_LIBS.pthread:Q}
+# XXX Although NetBSD-6+ supports TLS, ECL oddly crashes on startup
+# on NetBSD-6 when it's used here. Untested yet with NetBSD-7.
.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "Linux" || ${OPSYS} == "Darwin"
CONFIGURE_ARGS+= --with-__thread=yes
.else
CONFIGURE_ARGS+= --with-__thread=no
.endif
-PLIST_SRC+= PLIST.threads
.include "../../mk/pthread.buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-threads