From c5e111f5a9b40fad89efe6e6bc76106c61d8352f Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Thu, 10 Feb 2011 12:27:58 +0100 Subject: [PATCH] enca: add libiconv support Signed-off-by: Stephan Raue --- packages/other/enca/build | 7 +++++++ packages/other/enca/meta | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/other/enca/build b/packages/other/enca/build index faab814928..844b2aa275 100755 --- a/packages/other/enca/build +++ b/packages/other/enca/build @@ -22,6 +22,8 @@ . config/options $1 +export LDFLAGS="$LDFLAGS -liconv" + cd $PKG_BUILD ac_cv_file__dev_random=yes \ ac_cv_file__dev_urandom=no \ @@ -36,6 +38,11 @@ CPPFLAGS="-I$SYSROOT_PREFIX/usr/include" \ --datadir=/usr/share \ --enable-shared \ --disable-static \ + --disable-external \ + --with-libiconv-prefix="$SYSROOT_PREFIX/usr" \ + --without-librecode \ + --disable-rpath \ + --with-gnu-ld make CC="$HOST_CC" \ CPPFLAGS="$HOST_CPPFLAGS" \ diff --git a/packages/other/enca/meta b/packages/other/enca/meta index 50af26e9ce..d0a338b6fd 100644 --- a/packages/other/enca/meta +++ b/packages/other/enca/meta @@ -25,7 +25,7 @@ PKG_ARCH="any" PKG_LICENSE="GPL" PKG_SITE="http://freshmeat.net/projects/enca/" PKG_URL="http://dl.cihar.com/enca/$PKG_NAME-$PKG_VERSION.tar.bz2" -PKG_DEPENDS="" +PKG_DEPENDS="libiconv" PKG_BUILD_DEPENDS="toolchain libiconv" PKG_PRIORITY="optional" PKG_SECTION="other"