forked from Lainports/freebsd-ports
- fix remaining two places where CFLAGS weren't respected; - use cpio(1) to copy hierarchies instead of tar(1), so that it is possible to build the port as ordinary user, but still have installed files be owned by root; - use slightly different solution for the problem with 777 permissions on directories created during the build. Instead of harcoding resulting prmission apply umask(2) to all mode arguments of [f]chmod() calls. Since Rotor has no notion of file-level security anyway this should be an optimal way to fix the problem. Submitted by: Patrick Backlund <pbacklun@cc.hut.fi> (cpio fix) sobomax (the rest)
14 lines
258 B
Text
14 lines
258 B
Text
|
|
$FreeBSD$
|
|
|
|
--- buildall 2002/04/16 15:44:18 1.1
|
|
+++ buildall 2002/04/16 15:44:34
|
|
@@ -17,6 +17,8 @@
|
|
# Make command errors fatal
|
|
set -e
|
|
|
|
+. env.sh
|
|
+
|
|
if test X"${TARGETCOMPLUS}" = "X"
|
|
then
|
|
echo "ERROR: The TARGETCOMPLUS environment variable isn't set."
|