diff options
author | eik <eik@FreeBSD.org> | 2004-03-19 22:28:21 +0000 |
---|---|---|
committer | eik <eik@FreeBSD.org> | 2004-03-19 22:28:21 +0000 |
commit | 25047344606efe7bec828ea30fd4161fa839aa4f (patch) | |
tree | 9b0e5227868a06e2666ea1f89fffe9d56a218f89 /databases/db44 | |
parent | 19471a1c9ed0148c3977a82bec5dc6541f7c2d0b (diff) | |
download | FreeBSD-ports-25047344606efe7bec828ea30fd4161fa839aa4f.zip FreeBSD-ports-25047344606efe7bec828ea30fd4161fa839aa4f.tar.gz |
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
PR: 64479
Submitted by: Matthias Andree <matthias.andree@gmx.de> (maintainer)
Diffstat (limited to 'databases/db44')
-rw-r--r-- | databases/db44/Makefile | 1 | ||||
-rw-r--r-- | databases/db44/Makefile.db | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/databases/db44/Makefile b/databases/db44/Makefile index 61b08d2..19be6e1 100644 --- a/databases/db44/Makefile +++ b/databases/db44/Makefile @@ -19,3 +19,4 @@ COMMENT= The Berkeley DB package, revision 4.2 MASTERDIR?= ${.CURDIR} .include <${MASTERDIR}/Makefile.db> +.include <bsd.port.mk> diff --git a/databases/db44/Makefile.db b/databases/db44/Makefile.db index be96d05..8cf3e4a 100644 --- a/databases/db44/Makefile.db +++ b/databases/db44/Makefile.db @@ -44,5 +44,3 @@ post-install: .endif cd ${PREFIX}/bin/${PORTNAME} ; \ for i in * ; do ${LN} -s ${PORTNAME}/$$i ../$$i-${BDBVER} ; done - -.include <bsd.port.mk> |