# HG changeset patch # User Mark Brand # Date 1284392290 -7200 # Node ID 3bbf91cb006abd6be76e55e8068585b02da955fe # Parent 29c9cdad5011bc5dae2b6d4b60591e9f7d3b7b07 package freetds: fixed generation of configure script (by Tony Theodore) The ./configure script produced by autoreconf has a dangling dot on line 5 that causes the script to stop. This is caused by a quirk in OSX sh. From man echo: Most notably, the builtin echo in sh(1) does not accept the -n option. Applications aiming for maximum portability are strongly encouraged to use printf(1) to suppress the newline character. Tested on FreeBSD, openSUSE, OSX, and Ubuntu. diff -r 29c9cdad5011 -r 3bbf91cb006a src/freetds-2-fixes.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/freetds-2-fixes.patch Mon Sep 13 17:38:10 2010 +0200 @@ -0,0 +1,18 @@ +This file is part of mingw-cross-env. +See doc/index.html for further information. + +This patch has been taken from: +http://lists.ibiblio.org/pipermail/freetds/2010q3/026273.html + +diff -ur orig/configure.ac new/configure.ac +--- orig/configure.ac 2010-09-13 22:54:42.000000000 +1000 ++++ new/configure.ac 2010-09-13 22:56:35.000000000 +1000 +@@ -12,7 +12,7 @@ + # ------------------------------------------------------------ + # Initialization + # ------------------------------------------------------------ +-AC_INIT(FreeTDS, 0.83.dev.esyscmd(echo -n $(date +"%Y%m%d"))) ++AC_INIT(FreeTDS, 0.83.dev.esyscmd(printf $(date +"%Y%m%d"))) + AC_CONFIG_SRCDIR(src/dblib/dblib.c) + AC_PREREQ(2.53) + AC_REVISION($Revision: 1.55 $)