diff options
-rw-r--r-- | graphics/exiv2-organize/Makefile | 8 | ||||
-rw-r--r-- | misc/kdepimlibs4/Makefile | 8 | ||||
-rw-r--r-- | textproc/FlightCrew/Makefile | 8 |
3 files changed, 21 insertions, 3 deletions
diff --git a/graphics/exiv2-organize/Makefile b/graphics/exiv2-organize/Makefile index 7aa09e8d690..769e2a2b888 100644 --- a/graphics/exiv2-organize/Makefile +++ b/graphics/exiv2-organize/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2011/04/22 13:43:43 obache Exp $ +# $NetBSD: Makefile,v 1.10 2011/08/20 21:33:27 wiz Exp $ DISTNAME= exiv2-0.21.1 PKGNAME= exiv2-organize-0.21.1 @@ -29,6 +29,12 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/contrib/organize/organize \ ${DESTDIR}${PREFIX}/bin/exiv2-organize +.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 "../../graphics/exiv2/buildlink3.mk" .include "../../devel/boost-headers/buildlink3.mk" .include "../../devel/boost-libs/buildlink3.mk" 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" diff --git a/textproc/FlightCrew/Makefile b/textproc/FlightCrew/Makefile index 8cd95c602cf..f7d778e2154 100644 --- a/textproc/FlightCrew/Makefile +++ b/textproc/FlightCrew/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2011/07/29 19:32:18 ryoon Exp $ +# $NetBSD: Makefile,v 1.2 2011/08/20 21:33:27 wiz Exp $ # DISTNAME= FlightCrew-0.7.1-Code @@ -28,6 +28,12 @@ SUBST_FILES.fix-damaged= src/FlightCrew/tests/misc_tests/ConvertUtf8PathToBoostP SUBST_SED.fix-damaged+= -e "2,2s/^/\//" # commented-out SUBST_SED.fix-damaged+= -e "1,1d" # deleted +.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 "../../devel/googletest/buildlink3.mk" .include "../../devel/gmock/buildlink3.mk" .include "../../textproc/xerces-c/buildlink3.mk" |