From owner-svn-ports-head@freebsd.org Mon Nov 14 18:00:28 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E0A3FC412F3; Mon, 14 Nov 2016 18:00:28 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 AD139B26; Mon, 14 Nov 2016 18:00:28 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uAEI0Rs9009179; Mon, 14 Nov 2016 18:00:27 GMT (envelope-from pawel@FreeBSD.org) Received: (from pawel@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uAEI0R59009178; Mon, 14 Nov 2016 18:00:27 GMT (envelope-from pawel@FreeBSD.org) Message-Id: <201611141800.uAEI0R59009178@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pawel set sender to pawel@FreeBSD.org using -f From: Pawel Pekala Date: Mon, 14 Nov 2016 18:00:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r426128 - head/graphics/podofo 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.23 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: Mon, 14 Nov 2016 18:00:29 -0000 Author: pawel Date: Mon Nov 14 18:00:27 2016 New Revision: 426128 URL: https://svnweb.freebsd.org/changeset/ports/426128 Log: Fix build with gcc5 PR: 213996 (based on) Submitted by: Kenneth Salerno Modified: head/graphics/podofo/Makefile Modified: head/graphics/podofo/Makefile ============================================================================== --- head/graphics/podofo/Makefile Mon Nov 14 17:59:46 2016 (r426127) +++ head/graphics/podofo/Makefile Mon Nov 14 18:00:27 2016 (r426128) @@ -17,7 +17,7 @@ LIB_DEPENDS= libidn.so:dns/libidn \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig -USES= cmake dos2unix ssl +USES= cmake compiler dos2unix ssl CMAKE_ARGS= -DPODOFO_BUILD_SHARED:BOOL=TRUE \ -DPODOFO_BUILD_STATIC:BOOL=FALSE \ -DOPENSSL_INCLUDE_DIR:PATH="${OPENSSLINC}" \ @@ -43,4 +43,10 @@ PNG_LIB_DEPENDS= libpng.so:graphics/png TIFF_CMAKE_ON= -DWANT_TIFF:BOOL=TRUE TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff -.include +.include + +.if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} >= 50 +CXXFLAGS+= -std=gnu++11 -D_GLIBCXX_USE_C99=1 +.endif + +.include