summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormartin <martin>2006-08-14 14:22:23 +0000
committermartin <martin>2006-08-14 14:22:23 +0000
commit5c2ffe79dad7a702256e29907829dec6caa916c4 (patch)
tree3eb1c3a92984c52f48e73aeb507eda8b6fa9aac4
parentb77ed98769cee69f62f63d908b9673632317e721 (diff)
downloadpkgsrc-5c2ffe79dad7a702256e29907829dec6caa916c4.tar.gz
Add debug option
-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
+