summaryrefslogtreecommitdiff
path: root/editors/abiword/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'editors/abiword/options.mk')
-rw-r--r--editors/abiword/options.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/editors/abiword/options.mk b/editors/abiword/options.mk
new file mode 100644
index 00000000000..4fb29c4a079
--- /dev/null
+++ b/editors/abiword/options.mk
@@ -0,0 +1,18 @@
+# $NetBSD: options.mk,v 1.1 2015/09/13 21:32:13 nros Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.abiword
+PKG_SUPPORTED_OPTIONS= debug
+.include "../../mk/bsd.options.mk"
+
+#
+# Enable debugging funcionality
+# more verbose terminal output
+#
+.if !empty(PKG_OPTIONS:Mdebug)
+CC+= -ggdb
+CXX+= -ggdb
+CONFIGURE_ARGS+= --enable-debug
+INSTALL_UNSTRIPPED= yes
+CFLAGS+= -O0
+.endif
+