diff options
author | asami <asami@FreeBSD.org> | 1997-06-18 11:20:22 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1997-06-18 11:20:22 +0800 |
commit | a3ecd5e0592fa58ecb481569404eadd14cd50143 (patch) | |
tree | 5a67f04feabb6af913c8d8de9cf39bb2874da7fc /Mk/bsd.port.mk | |
parent | 1c240ed9c06373a9745adc39538adb7bd93cd6bf (diff) | |
download | freebsd-ports-gnome-a3ecd5e0592fa58ecb481569404eadd14cd50143.tar.gz freebsd-ports-gnome-a3ecd5e0592fa58ecb481569404eadd14cd50143.tar.zst freebsd-ports-gnome-a3ecd5e0592fa58ecb481569404eadd14cd50143.zip |
Move the "umask ?= 0022" check (a warning only) from the default
"do-install" target to the beginning of the "install" meta-target, so
that ports that define their own do-install will also run it without
having to duplicate it themselves.
Tested by: rebuilding all packages
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r-- | Mk/bsd.port.mk | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 1c82258a01b7..af7bb33a3b62 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.257 1997/04/30 03:12:05 asami Exp $ +# $Id: bsd.port.mk,v 1.258 1997/06/04 00:12:19 asami Exp $ # $NetBSD: $ # # bsd.port.mk - 940820 Jordan K. Hubbard. @@ -960,11 +960,6 @@ do-build: .if !target(do-install) do-install: - @if [ `/bin/sh -c umask` != 0022 ]; then \ - ${ECHO_MSG} "===> Warning: your umask is \"`/bin/sh -c umask`"\".; \ - ${ECHO_MSG} " If this is not desired, set it to an appropriate value"; \ - ${ECHO_MSG} " and install this port again by \`\`make reinstall''."; \ - fi .if defined(USE_GMAKE) @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET}) .if defined(USE_IMAKE) && !defined(NO_INSTALL_MANPAGES) @@ -1054,6 +1049,11 @@ _PORT_USE: .USE exit 1; \ fi .endif + @if [ `/bin/sh -c umask` != 0022 ]; then \ + ${ECHO_MSG} "===> Warning: your umask is \"`/bin/sh -c umask`"\".; \ + ${ECHO_MSG} " If this is not desired, set it to an appropriate value"; \ + ${ECHO_MSG} " and install this port again by \`\`make reinstall''."; \ + fi @cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} run-depends lib-depends .endif .if make(real-install) |