svn commit: r376798 - in head/security/libzrtpcppcore: . files
Tijl Coosemans
tijl at FreeBSD.org
Sun Jan 11 19:25:29 UTC 2015
Author: tijl
Date: Sun Jan 11 19:25:27 2015
New Revision: 376798
URL: https://svnweb.freebsd.org/changeset/ports/376798
QAT: https://qat.redports.org/buildarchive/r376798/
Log:
Avoid USES=compiler:c++11-lib because every dependent port would have to
set it too.
Added:
head/security/libzrtpcppcore/files/patch-CMakeLists.txt (contents, props changed)
Modified:
head/security/libzrtpcppcore/Makefile
Modified: head/security/libzrtpcppcore/Makefile
==============================================================================
--- head/security/libzrtpcppcore/Makefile Sun Jan 11 19:00:46 2015 (r376797)
+++ head/security/libzrtpcppcore/Makefile Sun Jan 11 19:25:27 2015 (r376798)
@@ -3,6 +3,7 @@
PORTNAME= libzrtpcppcore
DISTVERSIONPREFIX= V
DISTVERSION= 4.3.1
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= GHR
@@ -17,7 +18,7 @@ GH_ACCOUNT= wernerd
GH_PROJECT= ZRTPCPP
WRKSRC= ${WRKDIR}/${GH_PROJECT}-${DISTVERSION}
-USES= cmake:outsource compiler:c++11-lib
+USES= cmake:outsource
CMAKE_ARGS= -DCORE_LIB=true
USE_LDCONFIG= yes
Added: head/security/libzrtpcppcore/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/libzrtpcppcore/files/patch-CMakeLists.txt Sun Jan 11 19:25:27 2015 (r376798)
@@ -0,0 +1,18 @@
+--- CMakeLists.txt.orig 2014-11-18 15:26:49 UTC
++++ CMakeLists.txt
+@@ -156,14 +156,12 @@ endif()
+ # necessary and required modules checked, ready to generate config.h in top-level build directory
+ configure_file(config.h.cmake ${CMAKE_BINARY_DIR}/config.h)
+
+-add_definitions(-g -O2 -fno-strict-aliasing)
++add_definitions(-fno-strict-aliasing)
+ if(CMAKE_COMPILER_IS_GNUCXX)
+ # add_definitions(-Wno-long-long -Wno-char-subscripts)
+ # add_definitions(-Wall -ansi -pedantic)
+ # add_definitions(-Wall -pedantic)
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -pedantic -std=c99")
+- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -std=c++11")
+- add_definitions(-DNEW_STDCPP)
+ endif()
+
+ include_directories(BEFORE ${CMAKE_BINARY_DIR})
More information about the svn-ports-head
mailing list