openbsd-ports/net/neon/patches/patch-configure
ajacoutot 547f29c3e2 Correct the configure patch to patch the correct location so that the
bindtextdomain() check finds libintl as expected and remove the LDFLAGS
hack because the patch was not patching the correct location.

from Brad
2012-08-28 18:42:30 +00:00

21 lines
642 B
Plaintext

--- configure.orig Tue May 3 08:25:31 2011
+++ configure Tue Aug 28 13:53:10 2012
@@ -14967,7 +14967,7 @@ for lib in intl; do
*) ne__code="bindtextdomain();" ;;
esac
- LIBS="$ne_sl_save_LIBS -l$lib $NEON_LIBS"
+ LIBS="$ne_sl_save_LIBS -l$lib -liconv $NEON_LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -14999,7 +14999,7 @@ if test "$ne_cv_libsfor_bindtextdomain" = "not found";
elif test "$ne_cv_libsfor_bindtextdomain" = "none needed"; then
:
else
- NEON_LIBS="$ne_cv_libsfor_bindtextdomain $NEON_LIBS"
+ NEON_LIBS="$ne_cv_libsfor_bindtextdomain -liconv $NEON_LIBS"
fi