Bug 230594 - ports-mgmt/portlint: Add initial support for checking variables orders of FLAVORS and USES sections
Summary: ports-mgmt/portlint: Add initial support for checking variables orders of FLA...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Joe Marcus Clarke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-13 15:39 UTC by Fukang Chen
Modified: 2018-09-16 17:53 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (marcus)


Attachments
patch maybe (1.29 KB, patch)
2018-08-13 15:39 UTC, Fukang Chen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fukang Chen freebsd_committer freebsd_triage 2018-08-13 15:39:14 UTC
Created attachment 196160 [details]
patch maybe

Expected behaviour (with patch):
-----------------------------------
NO_ARCH=        yes

USES=           python
USE_PYTHON=     autoplist distutils
-----------------------------------
WARN: Makefile: "USES" has to appear earlier.


-----------------------------------

NO_ARCH=        yes
USES=           python
USE_PYTHON=     autoplist distutils

-----------------------------------
or
-----------------------------------

USES=           python
USE_PYTHON=     autoplist distutils
NO_ARCH=        yes

-----------------------------------
WARN: Makefile: extra item placed in the USES/USE_x section, for example, "NO_ARCH".
Comment 1 Joe Marcus Clarke freebsd_committer freebsd_triage 2018-09-16 17:21:02 UTC
Committed to my repo pending the next release.
Comment 2 Joe Marcus Clarke freebsd_committer freebsd_triage 2018-09-16 17:53:31 UTC
Committed to 2.18.4.  Thanks!