diff options
author | asau <asau> | 2012-07-26 22:58:33 +0000 |
---|---|---|
committer | asau <asau> | 2012-07-26 22:58:33 +0000 |
commit | d9a88b43d783ab37b5dd97b4c69dbad688769c07 (patch) | |
tree | d42c34909e48bfac64c0230b44959ede23040deb /lang/ecl/options.mk | |
parent | 31a2c1e93997f84c2a92ad975d0229d030539f6a (diff) | |
download | pkgsrc-d9a88b43d783ab37b5dd97b4c69dbad688769c07.tar.gz |
Move debug into separate options.
Requested by Matthew Mondor.
Diffstat (limited to 'lang/ecl/options.mk')
-rw-r--r-- | lang/ecl/options.mk | 10 |
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} |