aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-01-15 07:06:41 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-01-15 07:06:41 +0800
commit4a9c4c56a75da5b954b308bf39e04af9df197d11 (patch)
tree42d7223e54cbb5b9e960ecb6f34bf0168d6bacd2 /databases
parent674a911b39ee93915f23884ee041d5cf9fe63fc6 (diff)
downloadfreebsd-ports-gnome-4a9c4c56a75da5b954b308bf39e04af9df197d11.tar.gz
freebsd-ports-gnome-4a9c4c56a75da5b954b308bf39e04af9df197d11.tar.zst
freebsd-ports-gnome-4a9c4c56a75da5b954b308bf39e04af9df197d11.zip
- Fix gnutls linking error by using pkg-config
PR: ports/138435 Submitted by: Chris Cowart <ccowart@rescomp.berkeley.edu> Approved by: maintainer timeout (> 5 months)
Diffstat (limited to 'databases')
-rw-r--r--databases/freetds/Makefile2
-rw-r--r--databases/freetds/files/patch-configure9
2 files changed, 6 insertions, 5 deletions
diff --git a/databases/freetds/Makefile b/databases/freetds/Makefile
index 2f6d8ce757cb..113a8f0a0ff3 100644
--- a/databases/freetds/Makefile
+++ b/databases/freetds/Makefile
@@ -6,7 +6,7 @@
PORTNAME= freetds
PORTVERSION= 0.64
-PORTREVISION= 4
+PORTREVISION= 5
PORTEPOCH= 1
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SUNSITE}
diff --git a/databases/freetds/files/patch-configure b/databases/freetds/files/patch-configure
index faf9c4a04d87..186d35f59da8 100644
--- a/databases/freetds/files/patch-configure
+++ b/databases/freetds/files/patch-configure
@@ -1,13 +1,14 @@
---- configure.orig 2009-09-19 14:23:09.000000000 +0200
-+++ configure 2009-09-19 14:23:43.000000000 +0200
+diff -rub work/freetds-0.64/configure /tmp/freetds-0.64/configure
+--- configure 2006-07-01 08:10:31.000000000 -0700
++++ configure 2009-08-31 22:42:17.000000000 -0700
@@ -20088,8 +20088,8 @@
#define HAVE_GNUTLS 1
_ACEOF
- CPPFLAGS="$CPPFLAGS `libgnutls-config --cflags`"
- NETWORK_LIBS="$NETWORK_LIBS `libgnutls-config --libs`"
-+CPPFLAGS="$CPPFLAGS `pkg-config --cflags gnutls`"
-+NETWORK_LIBS="$NETWORK_LIBS `pkg-config --libs gnutls`"
++ CPPFLAGS="$CPPFLAGS `pkg-config --cflags gnutls`"
++ NETWORK_LIBS="$NETWORK_LIBS `pkg-config --libs gnutls`"
else
echo "$as_me:$LINENO: checking if openssl is wanted" >&5
echo $ECHO_N "checking if openssl is wanted... $ECHO_C" >&6