From owner-svn-ports-head@FreeBSD.ORG Sun Jan 11 19:25:29 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4DA9859F; Sun, 11 Jan 2015 19:25:29 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 203C37A9; Sun, 11 Jan 2015 19:25:29 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t0BJPSrx098931; Sun, 11 Jan 2015 19:25:28 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t0BJPSNL098928; Sun, 11 Jan 2015 19:25:28 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <201501111925.t0BJPSNL098928@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: tijl set sender to tijl@FreeBSD.org using -f From: Tijl Coosemans Date: Sun, 11 Jan 2015 19:25:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r376798 - in head/security/libzrtpcppcore: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jan 2015 19:25:29 -0000 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})