Index: head/security/keepassx2/Makefile =================================================================== --- head/security/keepassx2/Makefile (revision 400118) +++ head/security/keepassx2/Makefile (revision 400119) @@ -1,26 +1,32 @@ # Created by: Eric Camachat # $FreeBSD$ PORTNAME= keepassx DISTVERSION= 2.0-beta2 PORTEPOCH= 1 CATEGORIES= security MASTER_SITES= https://www.keepassx.org/dev/attachments/download/115/ PKGNAMESUFFIX= 2 MAINTAINER= eric@camachat.org COMMENT= Cross Platform Password Manager LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt 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 \ qmake_build rcc_build linguisttools USE_XORG= ice inputproto sm x11 xcursor xext xfixes xi xrandr xrender \ xt xtst -.include +.include + +.if !${COMPILER_FEATURES:Mc++0x} +CMAKE_ARGS+= -DWITH_CXX11:BOOL=OFF +.endif + +.include