diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2015-01-11 19:25:27 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2015-01-11 19:25:27 +0000 |
commit | c27029d42ed921825b38d9e9eb1f86a80192defc (patch) | |
tree | 3393ce460b8dc47d563fb6fbcd2fe471afbcb474 /security/libzrtpcppcore | |
parent | 39d8f442994509aa109127501258ae81cc63bde7 (diff) | |
download | ports-c27029d42ed921825b38d9e9eb1f86a80192defc.tar.gz ports-c27029d42ed921825b38d9e9eb1f86a80192defc.zip |
Notes
Diffstat (limited to 'security/libzrtpcppcore')
-rw-r--r-- | security/libzrtpcppcore/Makefile | 3 | ||||
-rw-r--r-- | security/libzrtpcppcore/files/patch-CMakeLists.txt | 18 |
2 files changed, 20 insertions, 1 deletions
diff --git a/security/libzrtpcppcore/Makefile b/security/libzrtpcppcore/Makefile index 404ae299e8d3..f75c86eba696 100644 --- a/security/libzrtpcppcore/Makefile +++ b/security/libzrtpcppcore/Makefile @@ -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 diff --git a/security/libzrtpcppcore/files/patch-CMakeLists.txt b/security/libzrtpcppcore/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..2bed7d1eb7a1 --- /dev/null +++ b/security/libzrtpcppcore/files/patch-CMakeLists.txt @@ -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}) |