pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/openjdk8 FreeBSD/clang build fix



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7791454aa0c0
branches:  trunk
changeset: 646436:7791454aa0c0
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Feb 08 17:19:59 2015 +0000

description:
FreeBSD/clang build fix

diffstat:

 lang/openjdk8/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r bed98b63a45a -r 7791454aa0c0 lang/openjdk8/Makefile
--- a/lang/openjdk8/Makefile    Sun Feb 08 17:00:21 2015 +0000
+++ b/lang/openjdk8/Makefile    Sun Feb 08 17:19:59 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2015/02/08 08:41:25 tnn Exp $
+# $NetBSD: Makefile,v 1.2 2015/02/08 17:19:59 tnn Exp $
 
 DISTNAME=      openjdk-1.8.31-20150207
 PKGNAME=       openjdk8-1.8.31
@@ -76,6 +76,8 @@
 SUBST_VARS.libpath=    PREFIX
 
 .if !empty(PKGSRC_COMPILER:Mclang)
+_WRAP_EXTRA_ARGS.CC+=  -Wno-return-type
+CRAPPERS_APPEND.cc+=   -Wno-return-type
 _WRAP_EXTRA_ARGS.CXX+= -Wno-parentheses -Wno-sign-conversion \
                        -Wno-shorten-64-to-32 -Wno-conversion \
                        -Wno-unused-value -Wno-switch-enum -Wno-switch \



Home | Main Index | Thread Index | Old Index