summaryrefslogtreecommitdiff
path: root/databases/qdbm/files/patch-configure
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2015-07-18 18:15:17 +0000
committerHiroki Sato <hrs@FreeBSD.org>2015-07-18 18:15:17 +0000
commit28a76bdb9ba4cbb88a5a7d27a25373da98ba400d (patch)
treec81a2b41fdc209379188aef9e52dffd5af6d0961 /databases/qdbm/files/patch-configure
parentPer r390886 stop pulling unnecessary GTK+ deps in my ports (diff)
- Take maintainership.
- Fix CFLAGS and LDFLAGS. - Fix a possible library path confusion. - Style clean-ups.
Notes
Notes: svn path=/head/; revision=392440
Diffstat (limited to 'databases/qdbm/files/patch-configure')
-rw-r--r--databases/qdbm/files/patch-configure29
1 files changed, 29 insertions, 0 deletions
diff --git a/databases/qdbm/files/patch-configure b/databases/qdbm/files/patch-configure
new file mode 100644
index 000000000000..020738ad5204
--- /dev/null
+++ b/databases/qdbm/files/patch-configure
@@ -0,0 +1,29 @@
+--- configure.orig 2010-08-04 17:15:20 UTC
++++ configure
+@@ -1934,7 +1934,7 @@ fi
+ if test "$enable_iconv" = "yes"
+ then
+ MYDEFS="$MYDEFS -DMYICONV"
+- MGWLIBS="-liconv $MGWLIBS"
++ MGWLIBS="$ICONV_LIB $MGWLIBS"
+ enables="$enables (iconv)"
+ isiconv="yes"
+ fi
+@@ -3047,7 +3047,7 @@ if test "${ac_cv_lib_iconv_main+set}" =
+ $as_echo_n "(cached) " >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-liconv $LIBS"
++LIBS="$ICONV_LIB $LIBS"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
+@@ -3076,7 +3076,7 @@ if test "x$ac_cv_lib_iconv_main" = x""ye
+ #define HAVE_LIBICONV 1
+ _ACEOF
+
+- LIBS="-liconv $LIBS"
++ LIBS="$ICONV_LIB $LIBS"
+
+ fi
+