Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jul 1996 22:01:25 -0700 (PDT)
From:      asami@cs.berkeley.edu (Satoshi Asami)
To:        obrien@Nuxi.cs.ucdavis.edu
Cc:        freebsd-ports@freebsd.org
Subject:   Re: ports/print/ghostscript4
Message-ID:  <199608010501.WAA02088@baloon.mimi.com>
In-Reply-To: <199608010450.VAA01193@baloon.mimi.com> (asami@cs.berkeley.edu)

next in thread | previous in thread | raw e-mail | index | archive | help
By the way, in terms of bsd.port.mk, this is one solution acceptable
to me (and other purists)....

===
Index: bsd.port.mk
===================================================================
RCS file: /usr/cvs/src/share/mk/bsd.port.mk,v
retrieving revision 1.217
diff -u -r1.217 bsd.port.mk
--- bsd.port.mk	1996/07/27 11:54:30	1.217
+++ bsd.port.mk	1996/08/01 04:57:59
@@ -718,6 +718,11 @@
 
 .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)
===

Satoshi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608010501.WAA02088>