summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2010-02-25 21:12:03 +0000
committerwiz <wiz@pkgsrc.org>2010-02-25 21:12:03 +0000
commit01313b62fefeb0b006f84505c7af2c3807aa0f0d (patch)
treedd63a6f1f902f2955670536f5413f655a6be4aa4
parent3f50d9275e11bdcdb443a00171e1a2d2bb975e02 (diff)
downloadpkgsrc-01313b62fefeb0b006f84505c7af2c3807aa0f0d.tar.gz
Fix build on NetBSD/sparc*.
From Jochen Kunz.
-rw-r--r--devel/cmake/distinfo3
-rw-r--r--devel/cmake/patches/patch-ad13
2 files changed, 15 insertions, 1 deletions
diff --git a/devel/cmake/distinfo b/devel/cmake/distinfo
index affc7018202..db9ec842165 100644
--- a/devel/cmake/distinfo
+++ b/devel/cmake/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.22 2010/02/12 13:45:54 drochner Exp $
+$NetBSD: distinfo,v 1.23 2010/02/25 21:12:03 wiz Exp $
SHA1 (cmake-2.8.0.tar.gz) = c35cb0d787c53aee768b154f05b68d3a20eccb3d
RMD160 (cmake-2.8.0.tar.gz) = 27e80a14b4970d85b12aaf18fbe738c02dc0620f
@@ -6,3 +6,4 @@ Size (cmake-2.8.0.tar.gz) = 3553247 bytes
SHA1 (patch-aa) = b093f4992a7fea099d7c26a90b150ac0d057067a
SHA1 (patch-ab) = f7372942f7e28b01c26794ce1a94914b68d1b24e
SHA1 (patch-ac) = e5127b9e28375528e977898c59cb6b5044d76ebe
+SHA1 (patch-ad) = c0e75a15b2b1761286a0da21d7e92639f4897f6c
diff --git a/devel/cmake/patches/patch-ad b/devel/cmake/patches/patch-ad
new file mode 100644
index 00000000000..aafa985d886
--- /dev/null
+++ b/devel/cmake/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.5 2010/02/25 21:12:03 wiz Exp $
+
+--- Source/kwsys/SharedForward.h.in.orig 2009-11-13 18:33:01.000000000 +0000
++++ Source/kwsys/SharedForward.h.in
+@@ -218,7 +218,7 @@ static const char kwsys_shared_forward_p
+ #endif
+
+ /* SUN */
+-#if defined(__sparc) && !defined(__linux)
++#if defined(__sparc) && !defined(__linux) && !defined(__NetBSD__)
+ # define KWSYS_SHARED_FORWARD_LDD "ldd"
+ # define KWSYS_SHARED_FORWARD_LDD_N 1
+ # include <sys/isa_defs.h>