Date: Sun, 10 Dec 2017 20:45:33 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r455912 - head/devel/pygobject3-common Message-ID: <201712102045.vBAKjXSw023910@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712102045.vBAKjXSw023910>