aboutsummaryrefslogtreecommitdiff
path: root/math/kcalc
diff options
context:
space:
mode:
authorDaniel Eischen <deischen@FreeBSD.org>2008-06-03 23:00:51 +0000
committerDaniel Eischen <deischen@FreeBSD.org>2008-06-03 23:00:51 +0000
commit09f6c5b9957d3d42dac15e257b099d686d26a213 (patch)
tree925b032905480b606040dd552b7963be771ce69f /math/kcalc
parent0b976999628d9b59d4c2590eac380222f8342440 (diff)
downloadports-09f6c5b9957d3d42dac15e257b099d686d26a213.tar.gz
ports-09f6c5b9957d3d42dac15e257b099d686d26a213.zip
Notes
Diffstat (limited to 'math/kcalc')
-rw-r--r--math/kcalc/files/patch-configure92
1 files changed, 92 insertions, 0 deletions
diff --git a/math/kcalc/files/patch-configure b/math/kcalc/files/patch-configure
new file mode 100644
index 000000000000..dcf82d156eec
--- /dev/null
+++ b/math/kcalc/files/patch-configure
@@ -0,0 +1,92 @@
+--- configure.orig 2007-10-08 14:31:38.000000000 +0000
++++ configure 2008-05-30 00:26:52.000000000 +0000
+@@ -35789,89 +35789,6 @@
+ fi
+
+
+-have_l_funcs=yes
+-
+-{ echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
+-echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6; }
+-if test "${ac_cv_lib_m_sqrtl+set}" = set; then
+- echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+- ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lm $LIBS"
+-cat >conftest.$ac_ext <<_ACEOF
+-/* confdefs.h. */
+-_ACEOF
+-cat confdefs.h >>conftest.$ac_ext
+-cat >>conftest.$ac_ext <<_ACEOF
+-/* end confdefs.h. */
+-
+-/* Override any GCC internal prototype to avoid an error.
+- Use char because int might match the return type of a GCC
+- builtin and then its argument prototype would still apply. */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-char sqrtl ();
+-int
+-main ()
+-{
+-return sqrtl ();
+- ;
+- return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (ac_try="$ac_link"
+-case "(($ac_try" in
+- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+- *) ac_try_echo=$ac_try;;
+-esac
+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+- (eval "$ac_link") 2>conftest.er1
+- ac_status=$?
+- grep -v '^ *+' conftest.er1 >conftest.err
+- rm -f conftest.er1
+- cat conftest.err >&5
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); } && {
+- test -z "$ac_c_werror_flag" ||
+- test ! -s conftest.err
+- } && test -s conftest$ac_exeext &&
+- $as_test_x conftest$ac_exeext; then
+- ac_cv_lib_m_sqrtl=yes
+-else
+- echo "$as_me: failed program was:" >&5
+-sed 's/^/| /' conftest.$ac_ext >&5
+-
+- ac_cv_lib_m_sqrtl=no
+-fi
+-
+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+- conftest$ac_exeext conftest.$ac_ext
+-LIBS=$ac_check_lib_save_LIBS
+-fi
+-{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
+-echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6; }
+-if test $ac_cv_lib_m_sqrtl = yes; then
+- cat >>confdefs.h <<_ACEOF
+-#define HAVE_LIBM 1
+-_ACEOF
+-
+- LIBS="-lm $LIBS"
+-
+-else
+- have_l_funcs=no
+-fi
+-
+-
+-if test "xyes" = "x$have_l_funcs" ; then
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define HAVE_L_FUNCS 1
+-_ACEOF
+-
+-fi
+-
+ LIBGMP=
+
+ kde_safe_cppflags=$CPPFLAGS