Bug 64479 - [MAINTAINER] databases/db42: convenience patch for broken ports tools
Summary: [MAINTAINER] databases/db42: convenience patch for broken ports tools
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-19 19:10 UTC by Matthias Andree
Modified: 2004-03-19 22:29 UTC (History)
1 user (show)

See Also:


Attachments
db42-4.2.52_2.patch (690 bytes, patch)
2004-03-19 19:10 UTC, Matthias Andree
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Andree 2004-03-19 19:10:14 UTC
This patch is a convenience patch to allow broken port tools to continue
to go about their rotten business. It is issued without acknowledgment
of any obligation, in response to ports/64393.

The patch does NOT bump PORTREVISION as the change is invisible for the
port's or package's users. $FreeBSD$ is sufficient.

I also refute any "bug" with respect to the the porter's handbook's
pages referenced in ports/64393, my port has not written anything after
bsd.port.mk and portlint has nothing to complain about (only that it
can't figure "patch" is legal in a PATCHFILES variable).

Informational: tools that assume .include <bsd.port.[post.]mk> was the
last line in a port's makefile are broken. They should be comparing
the output of realpath $(make -V MASTERDIR) against the output of
realpath $(pwd) instead:

-bash-2.05b$ realpath $(pwd)
/usr/home/ma/db42
-bash-2.05b$ realpath $(make -V MASTERDIR)
/usr/home/ma/db42

-bash-2.05b$ cd ../db42-nocrypto # switch to slave's port directory
-bash-2.05b$ realpath $(make -V MASTERDIR)
/usr/home/ma/db42
-bash-2.05b$ realpath $(pwd)
/usr/home/ma/db42-nocrypto

Generated with FreeBSD Port Tools 0.50
Comment 1 Oliver Eikemeier freebsd_committer freebsd_triage 2004-03-19 22:28:40 UTC
State Changed
From-To: open->closed

Committed, thanks