From owner-freebsd-ports@freebsd.org Sat Nov 4 17:51:14 2017 Return-Path: Delivered-To: freebsd-ports@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 08D6EE518BF for ; Sat, 4 Nov 2017 17:51:14 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-io0-x22f.google.com (mail-io0-x22f.google.com [IPv6:2607:f8b0:4001:c06::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C2C977730C for ; Sat, 4 Nov 2017 17:51:13 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-io0-x22f.google.com with SMTP id i38so11782640iod.2 for ; Sat, 04 Nov 2017 10:51:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=ordQYXS9PihbwO+CNkLSKGGnBIMviE+5Kr9FKU/wVHE=; b=kUfYhOksOeaQIpuQD1oQYANy94IzrnMkjsXnPuloOvpFaQEDD9f+KoxDBUlFcpqY+Q zm5MjVucFP82pMK+0qjvWOkgreSOvyYDqY1Ab0ZlKkkdWU5mYywoUIkW+gjOxnYldAOn GoG8H05mZbu0yqXUPnFWM9fA31SS9qvnoCNOv0y5YDe4ez75BcJMYbe1CrfEwlWcZDmE nc/XO/jOfzlIw/1tPVkPteIX6XEtw5LWPGPcHwXamXUjnEvQoEtLeGFe8bgiqkLan7de nguwueKInBOh7ClgoPRW4hdncLtXGxnHHYHTxpaIpVfgUaYZJNcCuLYeSxLZq4APgB49 hKPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=ordQYXS9PihbwO+CNkLSKGGnBIMviE+5Kr9FKU/wVHE=; b=dSPj6Y9ayntPyeLQ7pbqSCXfvMA+GpZH+ZPTQL2w3ogbk+HUP82H6C0EP/rhp3Jv83 XtQj17vrRyCa4/sHmhzAN4o9L6tXlxeuVRgYTUaUQZhTg8lUHfkELIhto2UcWw4aew/Z mmsBXzSuzuAu5RPY465O/ny4qq169JLjP0gjn50aAfoETiTq8gqYVR9vPEKwOzf2ayaP s1vWJzqWK00QrwqpeC91NJGhCaYLZjAm+hqk3eDsFeLYx0SFnZfOmG68n854XgVzfEqB tXe4sgEMJ5yMONe3owlDksMSMd32aNRJbBlXkuvb42P3uJ6nGaurp5J5tXMeANvUDzdO /MGg== X-Gm-Message-State: AMCzsaXxUqNyYdyrrqgF4HNSb4mj0uZ1p4vBARMEWpcctLl6l3yNVXEI +nra/q2kMQXVijaA/8z6Jb9XhVLw4JBtUy+PQvyApg== X-Google-Smtp-Source: ABhQp+TT3Ge3uOFNtjlSGhAkg6zj33i4w8BBNBtnzpDCp6g4reJkPstVCv0DjKs1D3SETX0y0CrPXpCEiLQOhwPAHCs= X-Received: by 10.107.104.12 with SMTP id d12mr13634542ioc.296.1509817872958; Sat, 04 Nov 2017 10:51:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.8.66 with HTTP; Sat, 4 Nov 2017 10:51:12 -0700 (PDT) In-Reply-To: References: From: blubee blubeeme Date: Sun, 5 Nov 2017 01:51:12 +0800 Message-ID: Subject: Re: mesa-libs with python3 To: FreeBSD Ports Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Nov 2017 17:51:14 -0000 maybe I can clarify a bit, first cairo failed to build with python2 but I added the line above to build successfully with python3 but now it needs libGL.so ===> Patching for cairo-1.14.8_1,2 ===> Applying FreeBSD patches for cairo-1.14.8_1,2 ===> cairo-1.14.8_1,2 depends on file: /usr/local/libdata/pkgconfig/xcb-renderutil.pc - found ===> cairo-1.14.8_1,2 depends on package: pkgconf>=1.3.0_1 - found ===> cairo-1.14.8_1,2 depends on file: /usr/local/lib/libGL.so - not found Maybe there's some package that offers libGL.so that can build against python3? On Sun, Nov 5, 2017 at 1:46 AM, blubee blubeeme wrote: > I am building a port that needs python3+ > I needed to build cairo with python3+ support by adding this line: > ${LOCALBASE}/libdata/pkgconfig/pycairo.pc:graphics/py-cairo > > but this pulls in mesa-libs which needs python2.7 > > How can I build mesa-libs with python3+ or have two python version in one > port? >