aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2013-12-03 19:33:38 +0800
committermakc <makc@FreeBSD.org>2013-12-03 19:33:38 +0800
commit625ac1f258803cbb89a643bb56aecb7cae21e93c (patch)
tree79e216bd8c8b71221b6d898131324d540905bc9b
parentdafe867d7dcf40ab3b57df32d29f0229925025d1 (diff)
downloadfreebsd-ports-gnome-625ac1f258803cbb89a643bb56aecb7cae21e93c.tar.gz
freebsd-ports-gnome-625ac1f258803cbb89a643bb56aecb7cae21e93c.tar.zst
freebsd-ports-gnome-625ac1f258803cbb89a643bb56aecb7cae21e93c.zip
- Fix CMAKE_BUILD_TYPE usage
Approved by: maintainers
-rw-r--r--games/spring/Makefile3
-rw-r--r--lang/io/Makefile1
2 files changed, 2 insertions, 2 deletions
diff --git a/games/spring/Makefile b/games/spring/Makefile
index 101b6f636ab4..a4d71427142c 100644
--- a/games/spring/Makefile
+++ b/games/spring/Makefile
@@ -50,7 +50,8 @@ NO_STAGE= yes
.if defined(WITH_SYNC_DEBUG)
CFLAGS= # empty
CXXFLAGS= # empty
-CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=DEBUG2 -DTRACE_SYNC=true -DSYNCDEBUG=true
+CMAKE_ARGS+= -DTRACE_SYNC=true -DSYNCDEBUG=true
+CMAKE_BUILD_TYPE= DEBUG2
.endif
post-patch:
diff --git a/lang/io/Makefile b/lang/io/Makefile
index adeb1d0e94d1..de928261cbf2 100644
--- a/lang/io/Makefile
+++ b/lang/io/Makefile
@@ -17,7 +17,6 @@ GH_COMMIT= 23afbcc
USE_LDCONFIG= yes
USES= cmake:outsource
-CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=release
PORTDOCS= *
PORTEXAMPLES= *