summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authormartin <martin@pkgsrc.org>2006-08-14 14:22:23 +0000
committermartin <martin@pkgsrc.org>2006-08-14 14:22:23 +0000
commit5d5c91136ef4ae9deb730e30d2debc275246bcd4 (patch)
tree3eb1c3a92984c52f48e73aeb507eda8b6fa9aac4 /editors
parent74cc22d6e4ab19851d091265abbfec123a1839cb (diff)
downloadpkgsrc-5d5c91136ef4ae9deb730e30d2debc275246bcd4.tar.gz
Add debug option
Diffstat (limited to 'editors')
-rw-r--r--editors/xemacs-current/options.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/editors/xemacs-current/options.mk b/editors/xemacs-current/options.mk
index 2de7e06df74..4226bab335d 100644
--- a/editors/xemacs-current/options.mk
+++ b/editors/xemacs-current/options.mk
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.6 2006/05/31 18:22:23 ghen Exp $
+# $NetBSD: options.mk,v 1.7 2006/08/14 14:22:23 martin Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.xemacs
-PKG_SUPPORTED_OPTIONS= esound ldap xface canna
+PKG_SUPPORTED_OPTIONS= esound ldap xface canna debug
.include "../../mk/bsd.options.mk"
@@ -31,3 +31,8 @@ CONFIGURE_ARGS+= --without-canna
#.else
CONFIGURE_ARGS+= --with-sound=none
#.endif
+
+.if !empty(PKG_OPTIONS:Mdebug)
+CONFIGURE_ARGS+= --debug
+.endif
+