From owner-svn-ports-all@freebsd.org Sun Dec 10 20:45:34 2017 Return-Path: Delivered-To: svn-ports-all@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 69AE3E9B846; Sun, 10 Dec 2017 20:45:34 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (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 2CCAA2A0B; Sun, 10 Dec 2017 20:45:34 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vBAKjXFT023911; Sun, 10 Dec 2017 20:45:33 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBAKjXSw023910; Sun, 10 Dec 2017 20:45:33 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201712102045.vBAKjXSw023910@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Sun, 10 Dec 2017 20:45:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r455912 - head/devel/pygobject3-common X-SVN-Group: ports-head X-SVN-Commit-Author: antoine X-SVN-Commit-Paths: head/devel/pygobject3-common X-SVN-Commit-Revision: 455912 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Dec 2017 20:45:34 -0000 Author: antoine Date: Sun Dec 10 20:45:32 2017 New Revision: 455912 URL: https://svnweb.freebsd.org/changeset/ports/455912 Log: Simplify DEPENDS, and unbreak with DEFAULT_VERSIONS=python=3.x Modified: head/devel/pygobject3-common/Makefile Modified: head/devel/pygobject3-common/Makefile ============================================================================== --- head/devel/pygobject3-common/Makefile Sun Dec 10 20:44:24 2017 (r455911) +++ head/devel/pygobject3-common/Makefile Sun Dec 10 20:45:32 2017 (r455912) @@ -36,7 +36,7 @@ MAKE_ARGS= PYTHON_VERSION=${PYTHON_VER} .if ${SLAVE_PORT} == no PORTSCOUT?= limitw:1,even -BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/pycairo.pc:graphics/py-cairo +BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cairo>=0:graphics/py-cairo@${PY_FLAVOR} USES+= gnome python:build USE_GNOME= glib20:build introspection:build NO_BUILD= yes @@ -58,13 +58,8 @@ RUN_DEPENDS+= pygobject3-common>=0:devel/pygobject3-co .if ${SLAVE_PORT} == python USES+= python USE_PYTHON= flavors -.if ${FLAVOR:Upy27:Mpy2*} -BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/pycairo.pc:graphics/py-cairo@${PY_FLAVOR} -RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/pycairo.pc:graphics/py-cairo@${PY_FLAVOR} -.else -BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/py3cairo.pc:graphics/py-cairo@${PY_FLAVOR} -RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/py3cairo.pc:graphics/py-cairo@${PY_FLAVOR} -.endif +BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cairo>=0:graphics/py-cairo@${FLAVOR} +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cairo>=0:graphics/py-cairo@${FLAVOR} .endif post-install: