Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Apr 2015 07:29:55 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r384409 - head/security/pinentry
Message-ID:  <201504210729.t3L7Ttpu046627@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Tue Apr 21 07:29:54 2015
New Revision: 384409
URL: https://svnweb.freebsd.org/changeset/ports/384409

Log:
  security/pinetry-qt4: set to use c+++11 standard (fixes gcc5)
  
  Unfortunately this still doesn't build on FreeBSD 10 which uses libc++.
  It is unknown if it builds on FreeBSD11, but it has been ignored on
  FreeBSD11.  The main benefit is for gcc5 support right now.
  
  I confirmed that it still builds on FreeBSD 8 and FreeBSD 9.
  
  Approved by:	blanket (gcc5)

Modified:
  head/security/pinentry/Makefile

Modified: head/security/pinentry/Makefile
==============================================================================
--- head/security/pinentry/Makefile	Tue Apr 21 07:13:27 2015	(r384408)
+++ head/security/pinentry/Makefile	Tue Apr 21 07:29:54 2015	(r384409)
@@ -68,6 +68,8 @@ CFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
 .if ${PINENTRY_GUI} == "qt4"
+USES+=		compiler:c++11-lib
+USE_CXXSTD=	c++11
 . if exists(/usr/lib/libc++.so)
 IGNORE=		does not compile with libc++
 . endif



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