diff options
author | joerg <joerg@pkgsrc.org> | 2012-11-18 01:51:04 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-11-18 01:51:04 +0000 |
commit | e4b78c1edb26e27c891e50dbfc231d07d9ec7cdb (patch) | |
tree | 0e36f6f1efa4c9d6d2c653ab714332a5cfd968b0 /x11 | |
parent | 5b1f599971b42bb50a4a15b8898eeae620790b08 (diff) | |
download | pkgsrc-e4b78c1edb26e27c891e50dbfc231d07d9ec7cdb.tar.gz |
Ignore return type mismatches for clang.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/xview-clients/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/x11/xview-clients/Makefile b/x11/xview-clients/Makefile index 9501477475c..06df65b4597 100644 --- a/x11/xview-clients/Makefile +++ b/x11/xview-clients/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.37 2012/10/29 05:07:24 asau Exp $ +# $NetBSD: Makefile,v 1.38 2012/11/18 01:51:04 joerg Exp $ DISTNAME= xview3.2p1-X11R6 PKGNAME= xview-clients-3.2.1 @@ -28,6 +28,11 @@ SUBST_FILES.xvc= olwm/openwin-menu-programs SUBST_SED.xvc= -e "s,@PREFIX@,${PREFIX},g" SUBST_SED.xvc+= -e "s,@X11BASE@,${X11BASE},g" +.include "../../mk/compiler.mk" +.if !empty(PKGSRC_COMPILER:Mclang) +MAKE_FLAGS+= CCOPTIONS=-Wno-error=return-type +.endif + .include "../../x11/libXext/buildlink3.mk" .include "../../x11/xview-lib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |