summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2011-03-03 17:55:10 +0000
committerKoop Mast <kwm@FreeBSD.org>2011-03-03 17:55:10 +0000
commit553b7566ffb4490bdd1a0fc3aee3df95a2c3ee1a (patch)
treec5e8c648e237408919bfbb27bb6998f0ee51f787 /security
parent- Update MASTER_SITES and DISTNAME to new preferred location (diff)
Patch a assumtion that uname -m returns the architecture value instead of MACHINE.
This makes it unbuildable on platforms where these differ (pc98, powerpc64, sun4v). Use uname -p to fix this. PR: ports/155228 Submitted by: Nathan Whitehorn <nwhitehorn@FreeBSD.org>
Notes
Notes: svn path=/head/; revision=270208
Diffstat (limited to 'security')
-rw-r--r--security/nss/files/patch-.._coreconf_arch.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/nss/files/patch-.._coreconf_arch.mk b/security/nss/files/patch-.._coreconf_arch.mk
new file mode 100644
index 000000000000..e39682dce3e2
--- /dev/null
+++ b/security/nss/files/patch-.._coreconf_arch.mk
@@ -0,0 +1,11 @@
+--- ../coreconf/arch.mk.orig 2011-03-03 18:13:52.000000000 +0100
++++ ../coreconf/arch.mk 2011-03-03 18:14:09.000000000 +0100
+@@ -66,7 +66,7 @@
+ # Attempt to differentiate between sparc and x86 Solaris
+ #
+
+-OS_TEST := $(shell uname -m)
++OS_TEST := $(shell uname -p)
+ ifeq ($(OS_TEST),i86pc)
+ OS_RELEASE := $(shell uname -r)_$(OS_TEST)
+ else