fix tcl 8.6 on sparc, needs -fPIC also

broken before, other archs not affected, no bump required
This commit is contained in:
tobiasu 2015-09-26 01:50:15 +00:00
parent 90d063f931
commit a3d6df5007

View File

@ -1,9 +1,18 @@
$OpenBSD: patch-unix_configure,v 1.3 2015/05/22 04:17:01 stu Exp $
$OpenBSD: patch-unix_configure,v 1.4 2015/09/26 01:50:15 tobiasu Exp $
Setting this here will allow it to propagate through everything.
--- unix/configure.orig Mon Apr 6 20:35:14 2015
+++ unix/configure Mon Apr 6 20:35:36 2015
--- unix/configure.orig Wed Mar 11 14:59:56 2015
+++ unix/configure Sat Sep 26 02:01:38 2015
@@ -7677,7 +7677,7 @@ fi
;;
*)
case "$arch" in
- alpha|sparc64)
+ alpha|sparc|sparc64)
SHLIB_CFLAGS="-fPIC"
;;
*)
@@ -19207,7 +19207,7 @@ if test "$FRAMEWORK_BUILD" = "1" ; then
elif test "$prefix/lib" != "$libdir"; then
TCL_PACKAGE_PATH="${libdir} ${prefix}/lib ${TCL_PACKAGE_PATH}"