summaryrefslogtreecommitdiffstats
path: root/databases/freetds
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-03-30 08:30:29 +0000
committerknu <knu@FreeBSD.org>2002-03-30 08:30:29 +0000
commitf39ecc91887ac40d25b58b56c438548a459985f2 (patch)
treec5ec4709ee1365a101c232e756fca3c33d1c4dad /databases/freetds
parentbffff4351b2d7455d5c3e769c8fb3abadc8e11aa (diff)
downloadFreeBSD-ports-f39ecc91887ac40d25b58b56c438548a459985f2.zip
FreeBSD-ports-f39ecc91887ac40d25b58b56c438548a459985f2.tar.gz
Properly link these libraries with libiconv.
This should fix some other ports that try to link with the FreeTDS libraries.
Diffstat (limited to 'databases/freetds')
-rw-r--r--databases/freetds/Makefile2
-rw-r--r--databases/freetds/files/patch-iconv-linkage28
2 files changed, 29 insertions, 1 deletions
diff --git a/databases/freetds/Makefile b/databases/freetds/Makefile
index f18e65a..3afcc56 100644
--- a/databases/freetds/Makefile
+++ b/databases/freetds/Makefile
@@ -6,7 +6,7 @@
PORTNAME= freetds
PORTVERSION= 0.53
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= ALPHA/freetds
diff --git a/databases/freetds/files/patch-iconv-linkage b/databases/freetds/files/patch-iconv-linkage
new file mode 100644
index 0000000..21ea02f
--- /dev/null
+++ b/databases/freetds/files/patch-iconv-linkage
@@ -0,0 +1,28 @@
+--- src/ctlib/Makefile.in.orig Sat Mar 30 17:14:45 2002
++++ src/ctlib/Makefile.in Sat Mar 30 17:15:17 2002
+@@ -104,3 +104,3 @@
+ LDFLAGS = @LDFLAGS@
+-LIBS = @LIBS@
++LIBS = @LIBS@ $(LIBICONV)
+ libct_la_LDFLAGS =
+--- src/dblib/Makefile.in.orig Sat Mar 30 17:14:45 2002
++++ src/dblib/Makefile.in Sat Mar 30 17:15:30 2002
+@@ -105,3 +105,3 @@
+ LDFLAGS = @LDFLAGS@
+-LIBS = @LIBS@
++LIBS = @LIBS@ $(LIBICONV)
+ libsybdb_la_DEPENDENCIES = $(patsubst %, $(TDSDIR)/%, $(patsubst %.c, \
+--- src/odbc/Makefile.in.orig Sat Mar 30 17:14:45 2002
++++ src/odbc/Makefile.in Sat Mar 30 17:15:50 2002
+@@ -103,3 +103,3 @@
+ LDFLAGS = @LDFLAGS@
+-LIBS = @LIBS@
++LIBS = @LIBS@ $(LIBICONV)
+ libtdsodbc_la_LDFLAGS =
+--- src/tds/Makefile.in.orig Sat Mar 30 17:14:45 2002
++++ src/tds/Makefile.in Sat Mar 30 17:16:42 2002
+@@ -90,3 +90,3 @@
+ INCLUDES = -I$(top_srcdir)/include
+-LIBS = @LIBICONV@
++LIBS = @LIBICONV@ $(LIBICONV)
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
OpenPOWER on IntegriCloud