changeset 1691:b5f32ee6dda0

fix broken gnutls detection in package freetds
author Volker Grabsch <vog@notjusthosting.com>
date Fri, 25 Mar 2011 19:33:10 +0100
parents 79cd458d80d8
children 872f3e1d9e25
files src/freetds.mk
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/freetds.mk	Fri Mar 25 18:55:39 2011 +0100
+++ b/src/freetds.mk	Fri Mar 25 19:33:10 2011 +0100
@@ -27,7 +27,6 @@
     # wine confuses the cross-compiling detection, so set it explicitly
     $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure'
 
-    # beware --with-gnutls broken detection
     cd '$(1)' && ./configure \
         --prefix='$(PREFIX)/$(TARGET)' \
         --host='$(TARGET)' \
@@ -40,6 +39,7 @@
         --enable-sspi \
         --disable-threadsafe \
         --with-tdsver=7.2 \
-        --with-gnutls
+        --with-gnutls \
+        PKG_CONFIG='$(TARGET)-pkg-config'
     $(MAKE) -C '$(1)' -j '$(JOBS)' install man_MANS=
 endef