freebsd-ports/security/nacl/files/patch-do
2012-03-21 00:45:56 +00:00

22 lines
454 B
Text

--- do.orig 2011-02-20 17:49:34.000000000 -0800
+++ do 2012-03-20 16:49:10.324256193 -0700
@@ -6,7 +6,7 @@
version=`cat version`
project=nacl
-shorthostname=`hostname | sed 's/\..*//' | tr -cd '[a-z][A-Z][0-9]'`
+shorthostname=`hostname -s`
top="`pwd`/build/$shorthostname"
bin="$top/bin"
@@ -38,8 +38,8 @@
mkdir -p "$lib"
mkdir -p "$include"
-exec >"$top/log"
-exec 2>&1
+#exec >"$top/log"
+#exec 2>&1
exec 5>"$top/data"
exec </dev/null