diff options
author | asami <asami@FreeBSD.org> | 1998-02-19 06:49:27 +0000 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1998-02-19 06:49:27 +0000 |
commit | e6e21242b8d4f3f666ac1ec528405e8833bf6f8d (patch) | |
tree | 15f5669c1e0a8edc2bcad013588044bdd3256580 /Mk | |
parent | 4b58d67f60ffb98cac519a8e4330454bd8c5a2d5 (diff) | |
download | FreeBSD-ports-e6e21242b8d4f3f666ac1ec528405e8833bf6f8d.zip FreeBSD-ports-e6e21242b8d4f3f666ac1ec528405e8833bf6f8d.tar.gz |
(1) Don't disable "deinstall" if IGNORE is set.
I don't know what the hell I was thinking in: rev. 1.268
(2) Create ${PREFIX} before calling mtree if it doesn't exist. This
may not be the best solution, but pre-install is called after
mtree so there really isn't any way to fix this from the port
Makefiles and thus has to be done here.
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index ee45403..f00a818 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -1,7 +1,7 @@ #-*- mode: Fundamental; tab-width: 4; -*- # ex:ts=4 # -# $Id: bsd.port.mk,v 1.269 1998/01/31 20:59:30 obrien Exp $ +# $Id: bsd.port.mk,v 1.270 1998/02/04 10:36:56 asami Exp $ # $NetBSD: $ # # bsd.port.mk - 940820 Jordan K. Hubbard. @@ -826,7 +826,7 @@ build: @${IGNORECMD} install: @${IGNORECMD} -deinstall: +reinstall: @${IGNORECMD} package: @${IGNORECMD} @@ -1189,6 +1189,7 @@ _PORT_USE: .USE .if make(real-install) .if !defined(NO_MTREE) @if [ `id -u` = 0 ]; then \ + ${MKDIR} ${PREFIX}; \ if [ ! -f ${MTREE_FILE} ]; then \ ${ECHO_MSG} "Error: mtree file \"${MTREE_FILE}\" is missing."; \ ${ECHO_MSG} "Copy it from a suitable location (e.g., /usr/src/etc/mtree) and try again."; \ |