aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/wv2/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/textproc/wv2/Makefile b/textproc/wv2/Makefile
index 0591a8b98275..cc2960b0a7a3 100644
--- a/textproc/wv2/Makefile
+++ b/textproc/wv2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= wv2
PORTVERSION= 0.4.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= textproc
MASTER_SITES= SF/wvware/
@@ -21,6 +21,12 @@ USE_CMAKE= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
+.if defined(WITH_DEBUG)
+CMAKE_BUILD_TYPE?= Debug
+.else
+CMAKE_BUILD_TYPE?= Release
+.endif
+
PLIST_SUB= CMAKE_BUILD_TYPE="${CMAKE_BUILD_TYPE:L}"
.include <bsd.port.mk>