diff options
author | dholland <dholland> | 2008-08-17 07:02:39 +0000 |
---|---|---|
committer | dholland <dholland> | 2008-08-17 07:02:39 +0000 |
commit | 5e8e8b7d91fb24f275dd5682fe21c111ec51c167 (patch) | |
tree | 95ec88ac9a2bdb5b07e3e6f4fef73963de809421 | |
parent | 5cd90dc2bed63e61a563fadcc928557648dcf8cc (diff) | |
download | pkgsrc-5e8e8b7d91fb24f275dd5682fe21c111ec51c167.tar.gz |
Use -fPIC. Fixes broken build on amd64 and probably others.
-rw-r--r-- | math/udunits/distinfo | 4 | ||||
-rw-r--r-- | math/udunits/patches/patch-ac | 25 |
2 files changed, 24 insertions, 5 deletions
diff --git a/math/udunits/distinfo b/math/udunits/distinfo index 56e038a23fa..382d360f125 100644 --- a/math/udunits/distinfo +++ b/math/udunits/distinfo @@ -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 --git a/math/udunits/patches/patch-ac b/math/udunits/patches/patch-ac index e3b8b49b837..fbe9cf4a40c 100644 --- a/math/udunits/patches/patch-ac +++ b/math/udunits/patches/patch-ac @@ -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 @@ $NetBSD: patch-ac,v 1.2 2006/01/03 19:21:17 joerg Exp $ ; 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) |