diff options
author | joerg <joerg> | 2012-04-19 21:10:24 +0000 |
---|---|---|
committer | joerg <joerg> | 2012-04-19 21:10:24 +0000 |
commit | ef29bd5ebcd5160135ee5707c882a45935e5dda2 (patch) | |
tree | a0b9866835523ba9737d0cf91cc8bcb443683141 /x11 | |
parent | 0d53edf87fba7596a95e5261821a776811a064c1 (diff) | |
download | pkgsrc-ef29bd5ebcd5160135ee5707c882a45935e5dda2.tar.gz |
Can't disable exceptions with Clang, since OpenEXR depends on them.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/kdebase3/hacks.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/x11/kdebase3/hacks.mk b/x11/kdebase3/hacks.mk index 66904c9dacf..cbb77da47a8 100644 --- a/x11/kdebase3/hacks.mk +++ b/x11/kdebase3/hacks.mk @@ -1,4 +1,4 @@ -# $NetBSD: hacks.mk,v 1.1 2007/10/31 11:56:44 markd Exp $ +# $NetBSD: hacks.mk,v 1.2 2012/04/19 21:10:24 joerg Exp $ .if !defined(KDEBASE3_HACKS_MK) KDEBASE3_HACKS_MK= # defined @@ -12,4 +12,10 @@ post-wrapper: ${MV} ${BUILDLINK_DIR}/include/X11/X.h.new ${BUILDLINK_DIR}/include/X11/X.h .endif +.include "../../mk/compiler.mk" +.if !empty(PKGSRC_COMPILER:Mclang) +# OpenEXR uses exceptions in the header files +BUILDLINK_TRANSFORM+= rm:-fno-exceptions +.endif + .endif |