summaryrefslogtreecommitdiff
path: root/lang/ecl
diff options
context:
space:
mode:
authorasau <asau@pkgsrc.org>2012-07-26 22:58:33 +0000
committerasau <asau@pkgsrc.org>2012-07-26 22:58:33 +0000
commitf6825b832dbfd8d4bb54da3034622ae67d726c45 (patch)
treed42c34909e48bfac64c0230b44959ede23040deb /lang/ecl
parent90d591736be0958ae8955716efa5ed82e9ef7719 (diff)
downloadpkgsrc-f6825b832dbfd8d4bb54da3034622ae67d726c45.tar.gz
Move debug into separate options.
Requested by Matthew Mondor.
Diffstat (limited to 'lang/ecl')
-rw-r--r--lang/ecl/options.mk10
1 files changed, 7 insertions, 3 deletions
diff --git a/lang/ecl/options.mk b/lang/ecl/options.mk
index 5924ada3e59..072128517a1 100644
--- a/lang/ecl/options.mk
+++ b/lang/ecl/options.mk
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.7 2012/07/26 21:09:29 asau Exp $
+# $NetBSD: options.mk,v 1.8 2012/07/26 22:58:33 asau Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.ecl
-PKG_SUPPORTED_OPTIONS+= threads unicode ffi clx
+PKG_SUPPORTED_OPTIONS+= debug threads unicode ffi clx
PKG_SUGGESTED_OPTIONS+= # empty
# Unicode support proved to break Axioms.
# Threads are off, since threaded ECL requires threads support
@@ -11,8 +11,12 @@ PKG_SUGGESTED_OPTIONS+= # empty
PLIST_SRC= PLIST # default value
+.if !empty(PKG_OPTIONS:Mdebug)
+CONFIGURE_ARGS+= --enable-debug
+.endif
+
.if !empty(PKG_OPTIONS:Mthreads)
-CONFIGURE_ARGS+= --enable-threads --enable-debug
+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}