diff options
author | lx <lx@FreeBSD.org> | 2012-03-21 08:45:56 +0800 |
---|---|---|
committer | lx <lx@FreeBSD.org> | 2012-03-21 08:45:56 +0800 |
commit | a2d380871dd74e23be0ffc6cded4d1caf09fc46b (patch) | |
tree | f9a188acf8b0967f850a68a236a0196e1f4a6060 /security/nacl | |
parent | 76f7efb8697a21a0b1bdd6b3bae427e6608a78f0 (diff) | |
download | freebsd-ports-gnome-a2d380871dd74e23be0ffc6cded4d1caf09fc46b.tar.gz freebsd-ports-gnome-a2d380871dd74e23be0ffc6cded4d1caf09fc46b.tar.zst freebsd-ports-gnome-a2d380871dd74e23be0ffc6cded4d1caf09fc46b.zip |
Fix issue preventing successful installation on hosts with certain hostnames.
Submitted by: pointy
Feature safe: yes
Diffstat (limited to 'security/nacl')
-rw-r--r-- | security/nacl/Makefile | 2 | ||||
-rw-r--r-- | security/nacl/files/patch-do | 13 |
2 files changed, 11 insertions, 4 deletions
diff --git a/security/nacl/Makefile b/security/nacl/Makefile index 15063c4b5379..76b5cb9857dc 100644 --- a/security/nacl/Makefile +++ b/security/nacl/Makefile @@ -17,8 +17,6 @@ ALL_TARGET= do USE_BZIP2= YES MAKE_JOBS_UNSAFE= YES -BROKEN= fails to install - .include <bsd.port.pre.mk> HOSTNAME_CMD?= /bin/hostname diff --git a/security/nacl/files/patch-do b/security/nacl/files/patch-do index 3c791ad64e29..8572d48f5c73 100644 --- a/security/nacl/files/patch-do +++ b/security/nacl/files/patch-do @@ -1,5 +1,14 @@ ---- do.old 2012-02-18 18:05:07.000000000 -0800 -+++ do 2012-02-18 18:06:49.000000000 -0800 +--- 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" |