svn commit: r400119 - head/security/keepassx2

Thomas Zander riggs at FreeBSD.org
Sat Oct 24 13:10:52 UTC 2015


Author: riggs
Date: Sat Oct 24 13:10:50 2015
New Revision: 400119
URL: https://svnweb.freebsd.org/changeset/ports/400119

Log:
  Un-break build on systems where cxx does not support c++11
  
  PR:		203992
  Submitted by:	eric at camachat.org (maintainer)

Modified:
  head/security/keepassx2/Makefile

Modified: head/security/keepassx2/Makefile
==============================================================================
--- head/security/keepassx2/Makefile	Sat Oct 24 11:18:04 2015	(r400118)
+++ head/security/keepassx2/Makefile	Sat Oct 24 13:10:50 2015	(r400119)
@@ -15,7 +15,7 @@ LIB_DEPENDS=	libgcrypt.so:${PORTSDIR}/se
 
 CONFLICTS_INSTALL=	keepassx-0.*
 
-USES=		cmake desktop-file-utils shared-mime-info
+USES=		cmake compiler:features desktop-file-utils shared-mime-info
 USE_LDCONFIG=	yes
 INSTALLS_ICONS=	yes
 USE_QT4=	corelib gui xml qtestlib uic_build moc_build \
@@ -23,4 +23,10 @@ USE_QT4=	corelib gui xml qtestlib uic_bu
 USE_XORG=	ice inputproto sm x11 xcursor xext xfixes xi xrandr xrender \
 		xt xtst
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if !${COMPILER_FEATURES:Mc++0x}
+CMAKE_ARGS+=	-DWITH_CXX11:BOOL=OFF
+.endif
+
+.include <bsd.port.post.mk>


More information about the svn-ports-all mailing list