From owner-freebsd-ports-bugs@freebsd.org Mon Feb 15 15:54:24 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1312BAA8F4E for ; Mon, 15 Feb 2016 15:54:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E015717B5 for ; Mon, 15 Feb 2016 15:54:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1FFsNCe002293 for ; Mon, 15 Feb 2016 15:54:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 206956] x11-wm/herbstluftwm: update to 0.7.0 Date: Mon, 15 Feb 2016 15:54:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rakuco@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2016 15:54:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206956 --- Comment #3 from Raphael Kubo da Costa --- > Do you have any idea about tput warnings? Or are they important? The tput warnings likely come from here: https://github.com/herbstluftwm/herbstluftwm/blob/v0.7.0/colors.mk and are = just used for decorating the output of non-verbose builds. One quick way to get = rid of those warnings is to force a verbose build (i.e. add "VERBOSE=3D" to MAKE_ARGS). > And maybe it's enough to disable unrecognized command line options? I thi= nk the -W* is okay, but what about -std=3Dc++11? You are approaching this from the wrong point of view. While it could be possible to remove the unrecognized warnings from the command line, you can= not rewrite the source code in C++98 instead of C++11. Upstream has made a choi= ce to use C++11 in its code, so you need to adapt the port to follow suit. With that said, that's what we have USES=3Dcompiler for. USES=3Dcompiler:c+= +11-lang adds a build-time dependency on a compiler that understands C++11 (and consequently the -std=3Dc++11 flag). It is not enough in this case, though,= since the port also uses C++11 features from the standard library (such as the header). This means you need USES=3Dcompiler:c++11-lib instead. Since we're talking about the port anyway, I have a few suggestions for you: - Instead of doing LDXX=3Dc++ in the Makefile, LDXX=3D${CXX} is more flexib= le. - Keep an eye on what upstream does to the build system in the next release= s: I was checking https://github.com/herbstluftwm/herbstluftwm/compare/v0.6.2...v0.7.0 to com= ment here, and it looks like they've started working on porting their build syst= em away from their home-baked solution to CMake. It's still experimental, but = you might want to consider switching to it in the future. --=20 You are receiving this mail because: You are the assignee for the bug.=