From 867e00365a49608e3f8c3c56a39ad838f40aac2d Mon Sep 17 00:00:00 2001 From: John Marino Date: Tue, 21 Apr 2015 07:29:54 +0000 Subject: 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) --- security/pinentry/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'security') diff --git a/security/pinentry/Makefile b/security/pinentry/Makefile index 98bf0cd7587c..383d0075de97 100644 --- a/security/pinentry/Makefile +++ b/security/pinentry/Makefile @@ -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 -- cgit v1.2.3