aboutsummaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorKubilay Kocak <koobs@FreeBSD.org>2015-10-25 10:38:27 +0000
committerKubilay Kocak <koobs@FreeBSD.org>2015-10-25 10:38:27 +0000
commit69312938b0d01ae53fcb6ed5681b0f85ceabd3f6 (patch)
tree44b028778d368dbccf8bebcb7fb65f87e7355348 /deskutils
parent04b8ff2431bbe87d70621b8acfbe05d2fd77d304 (diff)
deskutils/owncloudclient: Add DEBUG option
Add a debug option allowing users to easily enable debug builds. This can help isolation of particular bugs (like crashes) [1] [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203885 PR: 203919 Submitted by: Yonas Yanfa <yonas fizk net> (maintainer)
Notes
Notes: svn path=/head/; revision=400148
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/owncloudclient/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/deskutils/owncloudclient/Makefile b/deskutils/owncloudclient/Makefile
index 81092faeee99..cd417ad19659 100644
--- a/deskutils/owncloudclient/Makefile
+++ b/deskutils/owncloudclient/Makefile
@@ -28,12 +28,14 @@ INSTALLS_ICONS= yes
LDFLAGS+= -L${LOCALBASE}/lib
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DEBUG DOCS
DOCS_BUILD_DEPENDS= sphinx-build:${PORTSDIR}/textproc/py-sphinx
DOCS_USE= tex=dvipsk:build,latex:build
DOCS_CMAKE_ON= -DWITH_DOC:BOOL=ON
+DEBUG_CMAKE_ON= -DCMAKE_BUILD_TYPE:STRING=Debug
+
PLIST_SUB= VERSION=${PORTVERSION}
.include <bsd.port.options.mk>