summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2001-08-02 14:05:12 +0000
committerMarc Espie <espie@cvs.openbsd.org>2001-08-02 14:05:12 +0000
commiteb178ac391f0930d9229be83781e97e5f342e280 (patch)
treef41e3918c53857a0d2a484ea0afe96ab63b3063b /share
parent5220f51bff31db04550a33a540e729eca1573a9b (diff)
More DESTDIR -> DESTDIRNAME changes.
Remove AM_MAKEFLAGS setting that has not been there since make handles recursion posixly.
Diffstat (limited to 'share')
-rw-r--r--share/man/man5/bsd.port.mk.517
1 files changed, 8 insertions, 9 deletions
diff --git a/share/man/man5/bsd.port.mk.5 b/share/man/man5/bsd.port.mk.5
index 7e2c8cb7269..0a65eef00f4 100644
--- a/share/man/man5/bsd.port.mk.5
+++ b/share/man/man5/bsd.port.mk.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bsd.port.mk.5,v 1.41 2001/07/18 16:20:24 espie Exp $
+.\" $OpenBSD: bsd.port.mk.5,v 1.42 2001/08/02 14:05:11 espie Exp $
.\"
.\" Copyright (c) 2000 Marc Espie
.\"
@@ -485,9 +485,7 @@ Set to
in very rare cases, and during port creation.
.It Ev FAKE_FLAGS
Flags passed to ${MAKE_PROGRAM} on fake invocation.
-By default, DESTDIR=${WRKINST}.
-If CONFIGURE_STYLE involves gnu, adds AM_MAKEFLAGS='DESTDIR=${WRKINST}' to
-take automatic care of recent automaker recursive issues.
+By default, ${DESTDIRNAME}=${WRKINST}.
.It Ev FETCH_CMD
Command used to fetch distfiles for this port.
Defaults to
@@ -1200,8 +1198,8 @@ For instance, a few ports may need supplementary stuff to be present (as
it would be installed if the ports' dependencies were present).
.Pp
If {pre,do,post}-install overrides are present, they are used with some
-important changes: PREFIX is set to ${WRKINST}${PREFIX}, DESTDIR is set to
-${WRKINST}, and TRUEPREFIX is set to ${PREFIX}.
+important changes: PREFIX is set to ${WRKINST}${PREFIX}, ${DESTDIRNAME}
+is set to ${WRKINST}, and TRUEPREFIX is set to ${PREFIX}.
Essentially, old install targets work transparently, except for a need to
change PREFIX to TRUEPREFIX for symbolic links and similar path lookups.
Specific traditional post install work can be simply removed, as it will
@@ -1211,12 +1209,13 @@ texinfo's install-info).
If no do-install override is present, the port is installed using
.Bd -literal -indent offset
env -i ${MAKE_ENV}
- PREFIX=${WRKINST}${PREFIX} DESTDIR=${WRKINST} TRUEPREFIX=${PREFIX}
+ PREFIX=${WRKINST}${PREFIX} ${DESTDIRNAME}=${WRKINST} TRUEPREFIX=${PREFIX}
${MAKE_PROGRAM} ${FAKE_FLAGS} -f ${MAKE_FILE} ${FAKE_TARGET}
.Ed
.Pp
-Note that this does set both PREFIX and DESTDIR.
-If a port's Makefile both heeds DESTDIR, and references PREFIX explicitly,
+Note that this does set both PREFIX and ${DESTDIRNAME}.
+If a port's Makefile both heeds ${DESTDIRNAME},
+and references PREFIX explicitly,
FAKE_FLAGS may rectify the problem by setting PREFIX=${PREFIX}
(which will do the right thing, since ${PREFIX} is a
.Xr make 1