| Summary: | [PATCH] bug in PHP dependency checks | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Dag-Erling Smørgrav <des> | ||||
| Component: | Individual Port(s) | Assignee: | Alex Dupre <ale> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Dag-Erling Smørgrav
2004-10-25 13:50:18 UTC
Responsible Changed From-To: freebsd-ports-bugs->ale Over to bsd.php.mk maintainer. This patch isn't correct, it avoids any checks on the existence of the port (and this was my intention) and double checks the existence of the variable. A possible solution to your problem is to check the existence of the category directory, if the port directory is missing. If it exists, then the extension is unknown, otherwise you have to cvsup that catergory. -- Alex Dupre Alex Dupre <ale@FreeBSD.org> writes: > This patch isn't correct, it avoids any checks on the existence of the > port (and this was my intention) and double checks the existence of > the variable. The ports system already has a mechanism for verifying the existence of a port directory (although it is arguably broken, because it only warns about the missing dependency instead of failing, but that is a separate issue). That mechanism requires working *_DEPENDS, which bsd.php.mk does not provide. > A possible solution to your problem is to check the > existence of the category directory, if the port directory is > missing. If it exists, then the extension is unknown, otherwise you > have to cvsup that catergory. You obviously don't understand how porteasy works. It updates individual ports, not entire categories. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no State Changed From-To: open->closed Fixed, thanks! |