aboutsummaryrefslogtreecommitdiffstats
path: root/security/nss
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2011-03-04 01:55:10 +0800
committerkwm <kwm@FreeBSD.org>2011-03-04 01:55:10 +0800
commit5619f102fb9c3011b493dbf734f7a302d8056c72 (patch)
tree80ae0786f587d80f2383bafb27e3d560676888fa /security/nss
parent19efb1e6a2ee3b308c76dc2a377fc7cd0c97998f (diff)
downloadfreebsd-ports-gnome-5619f102fb9c3011b493dbf734f7a302d8056c72.tar.gz
freebsd-ports-gnome-5619f102fb9c3011b493dbf734f7a302d8056c72.tar.zst
freebsd-ports-gnome-5619f102fb9c3011b493dbf734f7a302d8056c72.zip
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>
Diffstat (limited to 'security/nss')
-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