Tue Jul 5 01:26:59 2016 UTC ()
LAGS are not FLAGS.


(dholland)
diff -r1.9 -r1.10 pkgsrc/lang/ecl/options.mk

cvs diff -r1.9 -r1.10 pkgsrc/lang/ecl/options.mk (expand / switch to unified diff)

--- pkgsrc/lang/ecl/options.mk 2015/12/09 21:00:47 1.9
+++ pkgsrc/lang/ecl/options.mk 2016/07/05 01:26:59 1.10
@@ -1,34 +1,34 @@ @@ -1,34 +1,34 @@
1# $NetBSD: options.mk,v 1.9 2015/12/09 21:00:47 asau Exp $ 1# $NetBSD: options.mk,v 1.10 2016/07/05 01:26:59 dholland Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.ecl 3PKG_OPTIONS_VAR= PKG_OPTIONS.ecl
4PKG_SUPPORTED_OPTIONS+= debug threads unicode ffi clx 4PKG_SUPPORTED_OPTIONS+= debug threads unicode ffi clx
5PKG_SUGGESTED_OPTIONS+= unicode ffi clx 5PKG_SUGGESTED_OPTIONS+= unicode ffi clx
6# Unicode support proved to break Axioms. 6# Unicode support proved to break Axioms.
7# Threads are off, since threaded ECL requires threads support 7# Threads are off, since threaded ECL requires threads support
8# in Boehm GC (off by default). 8# in Boehm GC (off by default).
9 9
10.include "../../mk/bsd.options.mk" 10.include "../../mk/bsd.options.mk"
11 11
12PLIST_SRC= PLIST # default value 12PLIST_SRC= PLIST # default value
13 13
14.if !empty(PKG_OPTIONS:Mdebug) 14.if !empty(PKG_OPTIONS:Mdebug)
15CONFIGURE_ARGS+= --enable-debug 15CONFIGURE_ARGS+= --enable-debug
16.endif 16.endif
17 17
18.if !empty(PKG_OPTIONS:Mthreads) 18.if !empty(PKG_OPTIONS:Mthreads)
19CONFIGURE_ARGS+= --enable-threads 19CONFIGURE_ARGS+= --enable-threads
20CONFIGURE_ENV+= THREAD_CFLAGS=${PTHREAD_CFLAGS:Q} 20CONFIGURE_ENV+= THREAD_CFLAGS=${PTHREAD_CFLAGS:Q}
21CONFIGURE_ENV+= THREAD_LDLAGS=${BUILDLINK_LDLAGS.pthread:Q} 21CONFIGURE_ENV+= THREAD_LDFLAGS=${BUILDLINK_LDFLAGS.pthread:Q}
22CONFIGURE_ENV+= THREAD_LIBS=${BUILDLINK_LIBS.pthread:Q} 22CONFIGURE_ENV+= THREAD_LIBS=${BUILDLINK_LIBS.pthread:Q}
23# XXX Although NetBSD-6+ supports TLS, ECL oddly crashes on startup 23# XXX Although NetBSD-6+ supports TLS, ECL oddly crashes on startup
24# on NetBSD-6 when it's used here. Untested yet with NetBSD-7. 24# on NetBSD-6 when it's used here. Untested yet with NetBSD-7.
25.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "Linux" || ${OPSYS} == "Darwin" 25.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "Linux" || ${OPSYS} == "Darwin"
26CONFIGURE_ARGS+= --with-__thread=yes 26CONFIGURE_ARGS+= --with-__thread=yes
27.else 27.else
28CONFIGURE_ARGS+= --with-__thread=no 28CONFIGURE_ARGS+= --with-__thread=no
29.endif 29.endif
30.include "../../mk/pthread.buildlink3.mk" 30.include "../../mk/pthread.buildlink3.mk"
31.else 31.else
32CONFIGURE_ARGS+= --disable-threads 32CONFIGURE_ARGS+= --disable-threads
33.endif 33.endif
34 34