summaryrefslogtreecommitdiff
path: root/databases/pgtcl/files/patch-configure
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2018-01-07 11:33:58 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2018-01-07 11:33:58 +0000
commit3e2c4556a29b53197ee367ef3f83c04539f6669b (patch)
tree053d49a4f214c7e86cd57036b8509a60d93c77e9 /databases/pgtcl/files/patch-configure
parentgraphics/qt5-imageformats, fix build with clang6 (diff)
- Update to version 2.1.1
- Fix building with LLD and honour $LD - Fix WWW: line PR: 214864 Approved by: portmgr (LLD_UNSAFE blanket) Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'databases/pgtcl/files/patch-configure')
-rw-r--r--databases/pgtcl/files/patch-configure23
1 files changed, 23 insertions, 0 deletions
diff --git a/databases/pgtcl/files/patch-configure b/databases/pgtcl/files/patch-configure
new file mode 100644
index 000000000000..6555f752f036
--- /dev/null
+++ b/databases/pgtcl/files/patch-configure
@@ -0,0 +1,23 @@
+--- configure.orig 2014-09-12 22:03:04 UTC
++++ configure
+@@ -4261,20 +4261,7 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confde
+ esac
+
+ if test "${TEA_PLATFORM}" = "unix" ; then
+-
+- #--------------------------------------------------------------------
+- # On a few very rare systems, all of the libm.a stuff is
+- # already in libc.a. Set compiler flags accordingly.
+- # Also, Linux requires the "ieee" library for math to work
+- # right (and it must appear before "-lm").
+- #--------------------------------------------------------------------
+-
+ ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin"
+-if test "x$ac_cv_func_sin" = xyes; then :
+- MATH_LIBS=""
+-else
+- MATH_LIBS="-lm"
+-fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lieee" >&5
+ $as_echo_n "checking for main in -lieee... " >&6; }