summaryrefslogtreecommitdiff
path: root/net/ekiga/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg>2013-03-28 21:34:50 +0000
committerjoerg <joerg>2013-03-28 21:34:50 +0000
commitdad4b87d68e255a43a0d508a8fa7a138d515b17e (patch)
tree78eda0e455f975fbb52e1830ce1342580f30eb4c /net/ekiga/Makefile
parent75aed5f0f301b65428fa03303984d8b9ccd00a8e (diff)
downloadpkgsrc-dad4b87d68e255a43a0d508a8fa7a138d515b17e.tar.gz
Disable -fno-exceptions for Clang as libsigc++ uses exceptions in the
header files. Fix template lookup.
Diffstat (limited to 'net/ekiga/Makefile')
-rw-r--r--net/ekiga/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/ekiga/Makefile b/net/ekiga/Makefile
index dbe36828e08..107efd15650 100644
--- a/net/ekiga/Makefile
+++ b/net/ekiga/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2013/02/16 11:23:48 wiz Exp $
+# $NetBSD: Makefile,v 1.45 2013/03/28 21:34:50 joerg Exp $
#
DISTNAME= ekiga-3.2.6
@@ -29,6 +29,12 @@ GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_LANGUAGES= c c++
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Mclang)
+# libsigc++ uses exceptions in the header files
+BUILDLINK_TRANSFORM+= rm:-fno-exceptions
+.endif
+
.include "../../audio/esound/buildlink3.mk"
.include "../../databases/openldap-client/buildlink3.mk"
.include "../../devel/GConf/schemas.mk"