aboutsummaryrefslogtreecommitdiff
path: root/sysutils/sweeper
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 /sysutils/sweeper
parent0b976999628d9b59d4c2590eac380222f8342440 (diff)
downloadports-09f6c5b9957d3d42dac15e257b099d686d26a213.tar.gz
ports-09f6c5b9957d3d42dac15e257b099d686d26a213.zip
Fix kdeutils for amd64-current (and perhaps other 64-bit
-current archs). This has been broken for over 3 months. configure incorrectly assumes that since FreeBSD has sqrtl, that it also has other long math functions. Also, configure seems to have 2 separate checks for the long math functions: the first check looks for both asinl and sqrtl, the second check looks for just sqrtl. FreeBSD does not currently have asinl, so if configure just went by the first check it would correctly determine that we do not have all the long math functions. Remove the second check to fix the problem. No response from: kde@
Notes
Notes: svn path=/head/; revision=214278
Diffstat (limited to 'sysutils/sweeper')
-rw-r--r--sysutils/sweeper/files/patch-configure92
1 files changed, 92 insertions, 0 deletions
diff --git a/sysutils/sweeper/files/patch-configure b/sysutils/sweeper/files/patch-configure
new file mode 100644
index 000000000000..dcf82d156eec
--- /dev/null
+++ b/sysutils/sweeper/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