pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/udunits Use -fPIC. Fixes broken build on amd64 an...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/245abff1220e
branches:  trunk
changeset: 545905:245abff1220e
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Sun Aug 17 07:02:39 2008 +0000

description:
Use -fPIC. Fixes broken build on amd64 and probably others.

diffstat:

 math/udunits/distinfo         |   4 ++--
 math/udunits/patches/patch-ac |  25 ++++++++++++++++++++++---
 2 files changed, 24 insertions(+), 5 deletions(-)

diffs (52 lines):

diff -r 5b700ab1b6ac -r 245abff1220e math/udunits/distinfo
--- a/math/udunits/distinfo     Sun Aug 17 06:45:48 2008 +0000
+++ b/math/udunits/distinfo     Sun Aug 17 07:02:39 2008 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.10 2006/01/03 19:21:17 joerg Exp $
+$NetBSD: distinfo,v 1.11 2008/08/17 07:02:39 dholland Exp $
 
 SHA1 (udunits-1.12.1/udunits.tar.Z) = ee37ca61eb1dcf34165b7573cc1645824bd6968d
 RMD160 (udunits-1.12.1/udunits.tar.Z) = fb2f0442673ca47d302782c84ce37b8da1e16535
 Size (udunits-1.12.1/udunits.tar.Z) = 365873 bytes
 SHA1 (patch-aa) = 0998141196898a7bc168fe45c5019586645167f2
 SHA1 (patch-ab) = 9a98e048499d38f8dedba6fb1a169e178dbd77ba
-SHA1 (patch-ac) = 7b2264a977dbc389bffbbd4d50364878587f9738
+SHA1 (patch-ac) = ebcfb1b47b828f12ba11364fda7a2f0b335c6fb5
 SHA1 (patch-ad) = d48978bd66d9ef691cd9c70b057a7e5d8a802fb6
diff -r 5b700ab1b6ac -r 245abff1220e math/udunits/patches/patch-ac
--- a/math/udunits/patches/patch-ac     Sun Aug 17 06:45:48 2008 +0000
+++ b/math/udunits/patches/patch-ac     Sun Aug 17 07:02:39 2008 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-ac,v 1.2 2006/01/03 19:21:17 joerg Exp $
+$NetBSD: patch-ac,v 1.3 2008/08/17 07:02:39 dholland Exp $
 
---- configure.orig     2003-08-29 15:53:25.000000000 +0000
-+++ configure
+--- configure.orig     2003-08-29 11:53:25.000000000 -0400
++++ configure  2008-08-17 02:59:48.000000000 -0400
 @@ -2094,8 +2094,9 @@ echo "configure:2093: checking for (void
  #line 2095 "configure"
  #include "confdefs.h"
@@ -24,3 +24,22 @@
  ; return 0; }
  EOF
  if { (eval echo configure:2149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+@@ -5398,6 +5400,9 @@ echo "configure:5396: checking for posit
+         HP-UX)
+             picflag=+z
+             ;;
++      NetBSD|FreeBSD|OpenBSD|DragonFly|Linux|SunOS)
++          picflag=-fPIC
++          ;;
+     esac
+     case "$picflag" in
+         '')
+@@ -5597,6 +5602,8 @@ for ac_option
+ do
+   case "\$ac_option" in
+   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
++      : Avoid regenerating within pkgsrc
++      exit 0
+     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
+     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
+   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)



Home | Main Index | Thread Index | Old Index