From e9d90f3daf3422c50ed1eabc7f52d12487357a25 Mon Sep 17 00:00:00 2001
From: wxs <wxs@FreeBSD.org>
Date: Tue, 10 Jan 2012 02:54:08 +0000
Subject: Set IGNORE if building with clang. This port uses nested functions
 which are a gcc extension and not supported by clang yet (if ever).

---
 mail/spamdyke/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'mail/spamdyke')

diff --git a/mail/spamdyke/Makefile b/mail/spamdyke/Makefile
index df7ebf784108..01e02fd3ef4e 100644
--- a/mail/spamdyke/Makefile
+++ b/mail/spamdyke/Makefile
@@ -29,6 +29,10 @@ OPTIONS=	TLS "Enable TLS support" On \
 
 .include <bsd.port.pre.mk>
 
+.if ${CC:T:Mclang} == "clang"
+IGNORE=	uses nested functions, not supported by clang
+.endif
+
 .if defined(WITHOUT_TLS)
 CONFIGURE_ARGS+=	--disable-tls
 .else
-- 
cgit