diff options
author | dbj <dbj> | 2013-09-15 17:35:38 +0000 |
---|---|---|
committer | dbj <dbj> | 2013-09-15 17:35:38 +0000 |
commit | 52e6071c14a19e97c221a4ab2ea1f7dc3ae68dbc (patch) | |
tree | 0f16733bd19d04232a7d139c23e679255d751995 | |
parent | a935cd71c88bb2261a5d568dcd7dd23177a03429 (diff) | |
download | pkgsrc-52e6071c14a19e97c221a4ab2ea1f7dc3ae68dbc.tar.gz |
don't define GLIBCXX_USE_C99_FP_MACROS_DYNAMIC=1 for clang on Darwin
-rw-r--r-- | x11/qt4-libs/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/x11/qt4-libs/Makefile b/x11/qt4-libs/Makefile index 183167633de..0ad069f373b 100644 --- a/x11/qt4-libs/Makefile +++ b/x11/qt4-libs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.93 2013/09/02 19:51:32 adam Exp $ +# $NetBSD: Makefile,v 1.94 2013/09/15 17:35:38 dbj Exp $ PKGNAME= qt4-libs-${QTVERSION} PKGREVISION= 1 @@ -29,8 +29,10 @@ CONFIGURE_ARGS+= -openssl-linked .include "../../mk/compiler.mk" .if !empty(PKGSRC_COMPILER:Mclang) CXXFLAGS+= -std=c++11 -Wno-c++11-narrowing +.if empty(MACHINE_PLATFORM:MDarwin-*-*) CXXFLAGS+= -D_GLIBCXX_USE_C99_FP_MACROS_DYNAMIC=1 .endif +.endif INSTALLATION_DIRS= lib/pkgconfig INSTALLATION_DIRS+= ${QTPREFIX}/bin |