summaryrefslogtreecommitdiff
path: root/misc/autocue
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-09-10 14:23:45 +0000
committerjoerg <joerg@pkgsrc.org>2013-09-10 14:23:45 +0000
commit34eae17ae01cc4648869fbb21b21f827c19138c4 (patch)
treedd0b5f1a046199436d2fc32c231ed00e1e92b220 /misc/autocue
parenta2d1623fab092db3bb08069e7041a02fbca79692 (diff)
downloadpkgsrc-34eae17ae01cc4648869fbb21b21f827c19138c4.tar.gz
For clang, don't use -Wno-traditional and don't complain about literal
non-UTF8 copyright signs.
Diffstat (limited to 'misc/autocue')
-rw-r--r--misc/autocue/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/misc/autocue/Makefile b/misc/autocue/Makefile
index 33fa252e561..99326ed63d2 100644
--- a/misc/autocue/Makefile
+++ b/misc/autocue/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2012/10/08 09:57:16 asau Exp $
+# $NetBSD: Makefile,v 1.9 2013/09/10 14:23:45 joerg Exp $
#
DISTNAME= autocue-20070224
@@ -23,4 +23,10 @@ do-install:
${INSTALL_MAN_DIR} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_MAN} ${WRKSRC}/autocue.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Mclang)
+BUILDLINK_TRANSFORM+= rm:-Wno-traditional
+CFLAGS+= -Wno-invalid-source-encoding
+.endif
+
.include "../../mk/bsd.pkg.mk"