Bug 198881 - [patch] Add two new special behavior variables: USE_REPO_DEPENDS and USE_REPO_DEPENDS_ONLY
Summary: [patch] Add two new special behavior variables: USE_REPO_DEPENDS and USE_REPO...
Status: Closed DUPLICATE of bug 208083
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Port Management Team
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2015-03-24 19:44 UTC by David Naylor
Modified: 2016-04-13 11:31 UTC (History)
1 user (show)

See Also:


Attachments
patch-add-support-for-USE_REPO_DEPENDS v1.0.0 (2.41 KB, patch)
2015-03-24 19:44 UTC, David Naylor
no flags Details | Diff
patch-add-support-for-USE_REPO_DEPENDS v1.0.1 (2.40 KB, patch)
2015-03-24 19:51 UTC, David Naylor
no flags Details | Diff
Update patch for upstream changes (2.45 KB, patch)
2015-06-27 10:47 UTC, David Naylor
no flags Details | Diff
Patch v2.0.0 (4.87 KB, patch)
2015-08-20 07:13 UTC, David Naylor
no flags Details | Diff
Patcch v2.0.1 (4.87 KB, patch)
2015-12-14 19:35 UTC, David Naylor
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Naylor freebsd_committer freebsd_triage 2015-03-24 19:44:47 UTC
Created attachment 154774 [details]
patch-add-support-for-USE_REPO_DEPENDS v1.0.0

The attached patch adds support for two new special behaviour variables: USE_REPO_DEPENDS and USE_REPO_DEPENDS_ONLY.  They follow the same behaviour pattern as USE_PACKAGE_DEPENDS(_ONLY) and can act as a fallback to USE_PACKAGE_DEPENDS(_ONLY).
Comment 1 David Naylor freebsd_committer freebsd_triage 2015-03-24 19:51:43 UTC
Created attachment 154775 [details]
patch-add-support-for-USE_REPO_DEPENDS v1.0.1

Fix extra ; after else
Comment 2 David Naylor freebsd_committer freebsd_triage 2015-06-27 10:47:34 UTC
Created attachment 158096 [details]
Update patch for upstream changes
Comment 3 Mathieu Arnold freebsd_committer freebsd_triage 2015-06-27 10:59:19 UTC
I think it should be pkg install -yA so that they get cleaned up with pkg autoremove.
Comment 4 Baptiste Daroussin freebsd_committer freebsd_triage 2015-06-27 11:04:34 UTC
This will have to wait for:
https://reviews.freebsd.org/D2897

That was my plan to add that afterward, thanks for having done the patch

and Yes it would need -A :)
Comment 5 David Naylor freebsd_committer freebsd_triage 2015-06-27 11:21:30 UTC
The "-A" is done in the main body of the port.  My rational is that some other location of the port's tree may want to use ${PKG_INSTALL} and intend it to be a non-dependency.
Comment 6 David Naylor freebsd_committer freebsd_triage 2015-08-20 07:13:05 UTC
Created attachment 160131 [details]
Patch v2.0.0

Update patch for changes introduced in https://reviews.freebsd.org/D2897.
Comment 7 David Naylor freebsd_committer freebsd_triage 2015-12-14 19:35:01 UTC
Created attachment 164242 [details]
Patcch v2.0.1

Update patch for changes in Mk/Scripts/do-depends.sh
Comment 8 David Naylor freebsd_committer freebsd_triage 2016-01-17 17:29:19 UTC
Ping, can someone from portmgr please have a look at this?
Comment 9 Mathieu Arnold freebsd_committer freebsd_triage 2016-04-13 11:31:43 UTC

*** This bug has been marked as a duplicate of bug 208083 ***