Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jan 2015 19:25:28 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r376798 - in head/security/libzrtpcppcore: . files
Message-ID:  <201501111925.t0BJPSNL098928@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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})



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501111925.t0BJPSNL098928>