From 9548ef0358ef141b6f72413e33225564b4609f53 Mon Sep 17 00:00:00 2001 From: dmcmahill Date: Fri, 2 Jun 2000 00:13:53 +0000 Subject: make sparc compile with -fPIC instead of -fpic. This fixes recently noted compile (link actually) problems. Other arch's are unchanged. Patch sent to Ruby author. --- lang/ruby/files/patch-sum | 4 +++- lang/ruby/patches/patch-aa | 10 ++++++++++ lang/ruby/patches/patch-ab | 10 ++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 lang/ruby/patches/patch-aa create mode 100644 lang/ruby/patches/patch-ab (limited to 'lang') diff --git a/lang/ruby/files/patch-sum b/lang/ruby/files/patch-sum index a26d4a18bb1..4faec576c1e 100644 --- a/lang/ruby/files/patch-sum +++ b/lang/ruby/files/patch-sum @@ -1,4 +1,6 @@ -$NetBSD: patch-sum,v 1.5 2000/04/18 10:46:16 sakamoto Exp $ +$NetBSD: patch-sum,v 1.6 2000/06/02 00:13:53 dmcmahill Exp $ +MD5 (patch-aa) = 35666a8ac46e4e8a75665c17997118f5 +MD5 (patch-ab) = 8ed85175e1fd46b288d818aae1f20cb3 MD5 (patch-ae) = 9b69e6da375997341a3d3d691dd57393 MD5 (patch-af) = f38f1dc0bb7333800b6844d620018444 diff --git a/lang/ruby/patches/patch-aa b/lang/ruby/patches/patch-aa new file mode 100644 index 00000000000..321fe6bd02b --- /dev/null +++ b/lang/ruby/patches/patch-aa @@ -0,0 +1,10 @@ +$NetBSD: patch-aa,v 1.4 2000/06/02 00:13:54 dmcmahill Exp $ + +--- configure.in.orig Tue Apr 11 12:13:32 2000 ++++ configure.in Thu Jun 1 13:56:23 2000 +@@ -401,4 +401,5 @@ + case "$host_cpu" in + mips*) CCDLFLAGS=-fPIC ;; ++ sparc) CCDLFLAGS=-fPIC ;; + *) ;; + esac ;; diff --git a/lang/ruby/patches/patch-ab b/lang/ruby/patches/patch-ab new file mode 100644 index 00000000000..05a88abbd3a --- /dev/null +++ b/lang/ruby/patches/patch-ab @@ -0,0 +1,10 @@ +$NetBSD: patch-ab,v 1.4 2000/06/02 00:13:54 dmcmahill Exp $ + +--- configure.orig Fri Apr 14 04:30:57 2000 ++++ configure Thu Jun 1 13:57:08 2000 +@@ -4062,4 +4062,5 @@ + case "$host_cpu" in + mips*) CCDLFLAGS=-fPIC ;; ++ sparc) CCDLFLAGS=-fPIC ;; + *) ;; + esac ;; -- cgit v1.2.3