Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id 16C417A468 for ; Tue, 19 Jul 2016 06:04:32 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 817E485EA0; Tue, 19 Jul 2016 06:04:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 1314885E94 for ; Tue, 19 Jul 2016 06:04:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id pNbageKO5_ec for ; Tue, 19 Jul 2016 06:04:30 +0000 (UTC) Received: from cvs.NetBSD.org (unknown [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 783CA84C86 for ; Tue, 19 Jul 2016 06:04:30 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 6EA39FBB5; Tue, 19 Jul 2016 06:04:30 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1468908270243690" MIME-Version: 1.0 Date: Tue, 19 Jul 2016 06:04:30 +0000 From: "Alistair G. Crooks" Subject: CVS commit: pkgsrc/graphics/lepton To: pkgsrc-changes@NetBSD.org Reply-To: agc@netbsd.org X-Mailer: log_accum Message-Id: <20160719060430.6EA39FBB5@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk This is a multi-part message in MIME format. --_----------=_1468908270243690 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: agc Date: Tue Jul 19 06:04:30 UTC 2016 Modified Files: pkgsrc/graphics/lepton: Makefile Log Message: Build uses pthread - include right makefile fragment Attempt to pre-empt joerg and specify c++11 as the base if clang is used as the compiler. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 pkgsrc/graphics/lepton/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1468908270243690 Content-Disposition: inline Content-Length: 886 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/graphics/lepton/Makefile diff -u pkgsrc/graphics/lepton/Makefile:1.1 pkgsrc/graphics/lepton/Makefile:1.2 --- pkgsrc/graphics/lepton/Makefile:1.1 Tue Jul 19 02:11:51 2016 +++ pkgsrc/graphics/lepton/Makefile Tue Jul 19 06:04:30 2016 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2016/07/19 02:11:51 agc Exp $ +# $NetBSD: Makefile,v 1.2 2016/07/19 06:04:30 agc Exp $ DISTNAME= lepton-1.2.1 CATEGORIES= graphics @@ -15,6 +15,12 @@ USE_LIBTOOL= yes USE_LANGUAGES+= c c++ USE_TOOLS+= autoconf autoreconf automake gmake makeinfo +.include "../../mk/compiler.mk" + +.if !empty(PKGSRC_COMPILER:Mclang) +CXXFLAGS+= -std=c++11 +.endif + AUTO_MKDIRS= yes pre-configure: @@ -23,4 +29,6 @@ pre-configure: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/lepton ${DESTDIR}${PREFIX}/bin +.include "../../mk/pthread.buildlink3.mk" + .include "../../mk/bsd.pkg.mk" --_----------=_1468908270243690--