diff options
author | asami <asami@FreeBSD.org> | 1996-08-18 10:53:16 +0000 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1996-08-18 10:53:16 +0000 |
commit | 46b8da9bc32f8d6e05b431875d2a300f0db6231d (patch) | |
tree | 33b7203928a989bdbfcc4e5514ddf45dd3c90d93 /share/mk | |
parent | d6bf2142a96b9d276a9ea0816b9ea080f60cab45 (diff) | |
download | FreeBSD-src-46b8da9bc32f8d6e05b431875d2a300f0db6231d.zip FreeBSD-src-46b8da9bc32f8d6e05b431875d2a300f0db6231d.tar.gz |
(1) Use INSTALL_PROGRAM where we attempt to pass this command line
to configure.
(2) Gently warn user for non-0022 umasks.
Submitted by: "David E. O'Brien" <obrien@Nuxi.cs.ucdavis.edu> (1)
Diffstat (limited to 'share/mk')
-rw-r--r-- | share/mk/bsd.port.mk | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/share/mk/bsd.port.mk b/share/mk/bsd.port.mk index 387d0a5..4d34663 100644 --- a/share/mk/bsd.port.mk +++ b/share/mk/bsd.port.mk @@ -3,7 +3,7 @@ # bsd.port.mk - 940820 Jordan K. Hubbard. # This file is in the public domain. # -# $Id: bsd.port.mk,v 1.219 1996/08/15 05:55:33 asami Exp $ +# $Id: bsd.port.mk,v 1.220 1996/08/17 10:16:02 asami Exp $ # # Please view me with 4 column tabs! @@ -705,7 +705,7 @@ do-configure: .if defined(HAS_CONFIGURE) @(cd ${WRKSRC} && CC="${CC}" ac_cv_path_CC="${CC}" CFLAGS="${CFLAGS}" \ INSTALL="/usr/bin/install -c -o ${BINOWN} -g ${BINGRP}" \ - INSTALL_PROGRAM="/usr/bin/install ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}" \ + INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}) .endif .if defined(USE_IMAKE) @@ -728,6 +728,11 @@ 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) |