From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: [PATCH 1/2] gnu: lvtk: Build UI library. Date: Sat, 03 Dec 2016 22:04:44 +0100 Message-ID: <87k2bgbu6r.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> References: <20161203194209.19164-1-rekado@elephly.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59571) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDHUK-0006kd-LQ for guix-devel@gnu.org; Sat, 03 Dec 2016 16:04:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cDHUF-0006Ei-Nr for guix-devel@gnu.org; Sat, 03 Dec 2016 16:04:52 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:39091) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cDHUF-0006Ec-IP for guix-devel@gnu.org; Sat, 03 Dec 2016 16:04:47 -0500 In-Reply-To: <20161203194209.19164-1-rekado@elephly.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus , guix-devel@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Ricardo Wurmus writes: > * gnu/packages/audio.scm (lvtk)[inputs]: Add gtkmm-2. > [arguments]: Pass "-std=3Dc++11" flag. > --- > gnu/packages/audio.scm | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm > index 5de0681..d7bdc01 100644 > --- a/gnu/packages/audio.scm > +++ b/gnu/packages/audio.scm > @@ -1653,9 +1653,16 @@ software.") > (setenv "LDFLAGS" > (string-append > "-L" (assoc-ref inputs "boost") "/lib " > - "-lboost_system"))))))) > + "-lboost_system")) > + ;; Needed for gtkmm > + (substitute* '("src/wscript_build" > + "examples/wscript_build") > + (("cxxflags.*=3D \\[" line) > + (string-append line "\"-std=3Dc++11\", "))) > + #t))))) Is it not possible to pass this through #:make-flags? If not this LGTM, but would be nice with a comment about why make-flags won't work. > (inputs > `(("boost" ,boost) > + ("gtkmm" ,gtkmm-2) > ("lv2" ,lv2))) > (native-inputs > `(("pkg-config" ,pkg-config))) > --=20 > 2.10.2 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlhDM20ACgkQoqBt8qM6 VPp0JQf/S/51WkPzaM9nB0+NA9fpogyD0BBlXmENesiDbDnCGdf5WJG9EgQN6WvA jsf6VAU2V/t5x94BwYe4D0VadoQ0475sb2Cw4RvRQS5N4Cn+esNo38tJoAf++Qpz tujhWzJ5mK1Ay9csE/bYVNDm2AFYT6HguZQUOlCUGzQxYnys6cB4MriItA1sc/Fb YPJ4EN4uFzd6k3CbnzXexneKX+XlDE556pg9KFFLHRmSjxooXSn5Awk8H5B25+PG fY8isvwLyqMLLQ1lsK5lpegNgD/f6AcHVSy+LjLO4/dAK73sWJL0lo179y6OLODa lIgzKEltA8OE3rJEzEmQE+Pw3vwEsg== =aHTV -----END PGP SIGNATURE----- --=-=-=--