Bug 259289 - Tools/scripts/bump-revision.sh: places PORTREVISION at a wrong place
Summary: Tools/scripts/bump-revision.sh: places PORTREVISION at a wrong place
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Bartek Rutkowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-20 00:22 UTC by Yuri Victorovich
Modified: 2021-10-20 00:22 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2021-10-20 00:22:13 UTC
Testcase: science/nwchem

portlint complains after bump-revision.sh

> $ cd /usr/ports/science/nwchem && bump-revision.sh . && portlint -C
> INFO: . PORTREVISION not found, adding PORTREVISION= 1
> FATAL: Makefile: DISTVERSIONSUFFIX appears out-of-order.
> FATAL: Makefile: order must be PORTNAME/PORTVERSION/DISTVERSIONPREFIX/DISTVERSION/DISTVERSIONSUFFIX/PORTREVISION/PORTEPOCH/CATEGORIES/MASTER_SITES/MASTER_SITE_SUBDIR/PROJECTHOST/PKGNAMEPREFIX/PKGNAMESUFFIX/DISTNAME/EXTRACT_SUFX/DISTFILES(_\w+)?/DIST_SUBDIR/EXTRACT_ONLY.
> 2 fatal errors and 0 warnings found.