Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Feb 2020 16:12:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 244314] devel/py-pygit2: fix RUN_DEPENDS definition
Message-ID:  <bug-244314-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244314

            Bug ID: 244314
           Summary: devel/py-pygit2: fix RUN_DEPENDS definition
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: mfechner@FreeBSD.org
          Reporter: jcfyecrayz@liamekaens.com
             Flags: maintainer-feedback?(mfechner@FreeBSD.org)
          Assignee: mfechner@FreeBSD.org

Created attachment 211837
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D211837&action=
=3Dedit
[patch] don't define RUN_DEPENDS based on BUILD_DEPENDS

The porter's handbook advises that RUN_DEPENDS should be defined based on
BUILD_DEPENDS.

https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile=
-depend.html#makefile-run_depends

portlint noticed the problem:

FATAL: Makefile: RUN_DEPENDS should not be set to ${BUILD_DEPENDS} as
${BUILD_DEPENDS} includes other implicit dependencies.  Instead, copy the
explicit dependencies from BUILD_DEPENDS to RUN_DEPENDS.  See
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-=
depend.html#AEN2154
for more details.

It's probably okay to include this fix with a later change.  There is a cha=
nce
that some change to Uses/python.mk causes additional BUILD_DEPENDS that wou=
ld
then propagate to RUN_DEPENDS, thus changing the package.  But the likeliho=
od
of such a change seems low.  So this change can wait to be included with
another future change (e.g., PORTVERSION update).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244314-7788>