freebsd-ports/print/tex-ptexenc/files/patch-configure
Hiroki Sato f58520633b - Add iconv support.
- Add LICENSE.
- Add CTAN mirror to MASTER_SITES.
2015-07-25 21:36:56 +00:00

38 lines
922 B
Text

--- configure.orig 2015-07-25 21:31:25 UTC
+++ configure
@@ -14889,7 +14889,7 @@ if ${ac_cv_lib_iconv_iconv_open+:} false
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-liconv $LIBS"
+LIBS="$LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -14924,7 +14924,7 @@ if test "x$ac_cv_lib_iconv_iconv_open" =
#define HAVE_LIBICONV 1
_ACEOF
- LIBS="-liconv $LIBS"
+ LIBS="$LIBS"
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libiconv_open in -liconv" >&5
@@ -14933,7 +14933,7 @@ if ${ac_cv_lib_iconv_libiconv_open+:} fa
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-liconv $LIBS"
+LIBS="$LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -14968,7 +14968,7 @@ if test "x$ac_cv_lib_iconv_libiconv_open
#define HAVE_LIBICONV 1
_ACEOF
- LIBS="-liconv $LIBS"
+ LIBS="$LIBS"
fi