summaryrefslogtreecommitdiff
path: root/math/udunits/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'math/udunits/patches/patch-ac')
-rw-r--r--math/udunits/patches/patch-ac25
1 files changed, 22 insertions, 3 deletions
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)