diff options
author | fluffy <fluffy@FreeBSD.org> | 2011-04-09 20:17:31 +0800 |
---|---|---|
committer | fluffy <fluffy@FreeBSD.org> | 2011-04-09 20:17:31 +0800 |
commit | 5551d313b16a582496b30ef98deaa12639181240 (patch) | |
tree | 9570cd6207e6be1a7bbbd8c0fd25771ec5e2fb04 /textproc | |
parent | b19e4953e63d25b5c5dc8d8c9d97c1df8b0f995e (diff) | |
download | freebsd-ports-gnome-5551d313b16a582496b30ef98deaa12639181240.tar.gz freebsd-ports-gnome-5551d313b16a582496b30ef98deaa12639181240.tar.zst freebsd-ports-gnome-5551d313b16a582496b30ef98deaa12639181240.zip |
- Specify CMAKE_BUILD_TYPE locally until it will be implemented with global cmake rules
PR: 156295
Submitted by: Oliver Heesakkers
Diffstat (limited to 'textproc')
-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> |