diff options
author | eik <eik@FreeBSD.org> | 2004-03-20 06:28:21 +0800 |
---|---|---|
committer | eik <eik@FreeBSD.org> | 2004-03-20 06:28:21 +0800 |
commit | 25047344606efe7bec828ea30fd4161fa839aa4f (patch) | |
tree | 9b0e5227868a06e2666ea1f89fffe9d56a218f89 /databases/db46 | |
parent | 19471a1c9ed0148c3977a82bec5dc6541f7c2d0b (diff) | |
download | freebsd-ports-gnome-25047344606efe7bec828ea30fd4161fa839aa4f.tar.gz freebsd-ports-gnome-25047344606efe7bec828ea30fd4161fa839aa4f.tar.zst freebsd-ports-gnome-25047344606efe7bec828ea30fd4161fa839aa4f.zip |
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/db46')
-rw-r--r-- | databases/db46/Makefile | 1 | ||||
-rw-r--r-- | databases/db46/Makefile.db | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/databases/db46/Makefile b/databases/db46/Makefile index 61b08d23b046..19be6e18de40 100644 --- a/databases/db46/Makefile +++ b/databases/db46/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/db46/Makefile.db b/databases/db46/Makefile.db index be96d05d2e1b..8cf3e4a934ce 100644 --- a/databases/db46/Makefile.db +++ b/databases/db46/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> |