aboutsummaryrefslogtreecommitdiffstats
path: root/databases/freetds-devel
diff options
context:
space:
mode:
Diffstat (limited to 'databases/freetds-devel')
-rw-r--r--databases/freetds-devel/Makefile3
-rw-r--r--databases/freetds-devel/files/patch-src-tds-Makefile2
2 files changed, 3 insertions, 2 deletions
diff --git a/databases/freetds-devel/Makefile b/databases/freetds-devel/Makefile
index 1e1c296f1f30..2ddae76ea491 100644
--- a/databases/freetds-devel/Makefile
+++ b/databases/freetds-devel/Makefile
@@ -93,7 +93,8 @@ post-patch:
s|/freetds.conf|/freetds.conf.dist|g ; \
s|/locales.conf|/locales.conf.dist|g ; \
s|/pool.conf|/pool.conf.dist|g ; \
- s| common.h||g'
+ s| common.h||g ; \
+ s|%%ICONV_LIB%%|${ICONV_LIB}|'
post-install:
.if !defined(NOPORTDOCS)
diff --git a/databases/freetds-devel/files/patch-src-tds-Makefile b/databases/freetds-devel/files/patch-src-tds-Makefile
index f38068974a2d..f0789382c90c 100644
--- a/databases/freetds-devel/files/patch-src-tds-Makefile
+++ b/databases/freetds-devel/files/patch-src-tds-Makefile
@@ -5,7 +5,7 @@
LIBICONV = @LIBICONV@
LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-+LIBS = @LIBS@ -liconv
++LIBS = @LIBS@ %%ICONV_LIB%%
LIBTOOL = @LIBTOOL@
LIPO = @LIPO@
LN_S = @LN_S@