diff options
author | Oliver Eikemeier <eik@FreeBSD.org> | 2004-03-19 22:28:21 +0000 |
---|---|---|
committer | Oliver Eikemeier <eik@FreeBSD.org> | 2004-03-19 22:28:21 +0000 |
commit | 226faa7c2951aae8328303acf38c34530a710c48 (patch) | |
tree | 5211feb82edffa5edd5f8f6e0c4ed934e30ffdb2 /databases/db43 | |
parent | BROKEN on alpha 4.x: Does not compile (diff) |
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)
Notes
Notes:
svn path=/head/; revision=104667
Diffstat (limited to 'databases/db43')
-rw-r--r-- | databases/db43/Makefile | 1 | ||||
-rw-r--r-- | databases/db43/Makefile.db | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/databases/db43/Makefile b/databases/db43/Makefile index 61b08d23b046..19be6e18de40 100644 --- a/databases/db43/Makefile +++ b/databases/db43/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/db43/Makefile.db b/databases/db43/Makefile.db index be96d05d2e1b..8cf3e4a934ce 100644 --- a/databases/db43/Makefile.db +++ b/databases/db43/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> |