diff options
Diffstat (limited to 'misc/kdepimlibs4/Makefile')
-rw-r--r-- | misc/kdepimlibs4/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/misc/kdepimlibs4/Makefile b/misc/kdepimlibs4/Makefile index ebf5c3b07d6..06468289d44 100644 --- a/misc/kdepimlibs4/Makefile +++ b/misc/kdepimlibs4/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2011/04/22 13:42:35 obache Exp $ +# $NetBSD: Makefile,v 1.20 2011/08/20 21:33:28 wiz Exp $ DISTNAME= kdepimlibs-${_KDE_VERSION} PKGREVISION= 1 @@ -13,6 +13,12 @@ REPLACE_PERL+= mailtransport/kconf_update/migrate-transports.pl .include "../../meta-pkgs/kde4/kde4.mk" +.include "../../mk/compiler.mk" +# GCC 4.4 and above needs this +.if !empty(PKGSRC_COMPILER:Mgcc) && !empty(CC_VERSION:Mgcc-4.[4-9]*) +_WRAP_EXTRA_ARGS.CXX+= -std=c++0x +.endif + .include "../../databases/openldap-client/buildlink3.mk" .include "../../devel/boost-libs/buildlink3.mk" .include "../../mail/akonadi/buildlink3.mk" |