aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2019-01-22 12:00:40 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2019-01-22 12:00:40 +0000
commit7c75491bae6be00b65cd0c8b9808dbac43686b89 (patch)
tree1568b7cfd3b8556cf63610285fa57ebe3e925230 /print
parent1fd544231ff471c98c9bd0751e4e3a3a93742bb9 (diff)
downloadports-7c75491bae6be00b65cd0c8b9808dbac43686b89.tar.gz
ports-7c75491bae6be00b65cd0c8b9808dbac43686b89.zip
Add WITH_DEBUG support.
Notes
Notes: svn path=/head/; revision=490938
Diffstat (limited to 'print')
-rw-r--r--print/cups/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/print/cups/Makefile b/print/cups/Makefile
index 310e8b0c3eaf..46a922d1edc1 100644
--- a/print/cups/Makefile
+++ b/print/cups/Makefile
@@ -84,6 +84,10 @@ PLIST_SUB+= USB=""
PLIST_SUB+= USB="@comment "
.endif
+.if defined(WITH_DEBUG)
+CONFIGURE_ARGS+=--enable-debug --enable-debug-printfs
+.endif
+
.include <bsd.port.pre.mk>
.if empty(ICONV_LIB)