diff options
author | Dima Panov <fluffy@FreeBSD.org> | 2011-04-09 12:17:31 +0000 |
---|---|---|
committer | Dima Panov <fluffy@FreeBSD.org> | 2011-04-09 12:17:31 +0000 |
commit | 58ea1d2a58550722e0893879644f5a2034d9f27d (patch) | |
tree | 578b8799c7c03822054f32d519464aed20fa3a61 /textproc/wv2 | |
parent | - Remove Pike 7.8 dependency on the Nettle port, (diff) |
- Specify CMAKE_BUILD_TYPE locally until it will be implemented with global cmake rules
PR: 156295
Submitted by: Oliver Heesakkers
Notes
Notes:
svn path=/head/; revision=272433
Diffstat (limited to 'textproc/wv2')
-rw-r--r-- | textproc/wv2/Makefile | 8 |
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> |