Bug 142381 - [Patch]ports-mgmt/portlint:Fix the bug when it check apache
Summary: [Patch]ports-mgmt/portlint:Fix the bug when it check apache
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Joe Marcus Clarke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-06 15:10 UTC by Wen Heping
Modified: 2010-04-04 19:13 UTC (History)
0 users

See Also:


Attachments
file.diff (417 bytes, patch)
2010-01-06 15:10 UTC, Wen Heping
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wen Heping freebsd_committer freebsd_triage 2010-01-06 15:10:02 UTC
When portslint check the ports which depends on ports such as p5-Apache-*,
it always mistake it as apache13 or apache20 apache22, then it will produce 
the fatal error message while the ports has no problem.

For example:

fb9$ cd /usr/ports/www/p5-HTML-Mason
fb9$ portlint
FATAL: Makefile: do not depend on any apache port in *_DEPENDS directly.  Instead use USE_APACHE=VERSION, where VERSION can be found in ${PORTSDIR}/Mk/bsd.apache.mk.
FATAL: Makefile: do not depend on any apache port in *_DEPENDS directly.  Instead use USE_APACHE=VERSION, where VERSION can be found in ${PORTSDIR}/Mk/bsd.apache.mk.
2 fatal errors and 0 warnings found.


But actually p5-HTML-Mason has no problem.

The bug was caused by the regular ~m/apache/i in the source, remove the "i"
could fix the bug.

Fix: Patch attached with submission follows:
How-To-Repeat: fb9$ cd /usr/ports/www/p5-HTML-Mason
fb9$ portlint
FATAL: Makefile: do not depend on any apache port in *_DEPENDS directly.  Instead use USE_APACHE=VERSION, where VERSION can be found in ${PORTSDIR}/Mk/bsd.apache.mk.
FATAL: Makefile: do not depend on any apache port in *_DEPENDS directly.  Instead use USE_APACHE=VERSION, where VERSION can be found in ${PORTSDIR}/Mk/bsd.apache.mk.
2 fatal errors and 0 warnings found.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-01-06 15:10:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->marcus

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Joe Marcus Clarke freebsd_committer freebsd_triage 2010-04-04 19:12:57 UTC
State Changed
From-To: open->closed

Committed, thanks!