From b640af85c9d692f2d6bbb4752e3e52951b191a5e Mon Sep 17 00:00:00 2001 From: Alin Năstac Date: Thu, 25 Jan 2007 07:57:04 +0000 Subject: Add nls USE flag (#148618). (Portage version: 2.1.1-r2) --- app-mobilephone/obexftp/ChangeLog | 8 ++++++-- app-mobilephone/obexftp/files/obexftp-0.21-no_iconv.patch | 11 +++++++++++ app-mobilephone/obexftp/obexftp-0.21.ebuild | 10 ++++++---- 3 files changed, 23 insertions(+), 6 deletions(-) create mode 100644 app-mobilephone/obexftp/files/obexftp-0.21-no_iconv.patch (limited to 'app-mobilephone/obexftp') diff --git a/app-mobilephone/obexftp/ChangeLog b/app-mobilephone/obexftp/ChangeLog index 5198c222867a..206b9ac35b5e 100644 --- a/app-mobilephone/obexftp/ChangeLog +++ b/app-mobilephone/obexftp/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-mobilephone/obexftp -# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/obexftp/ChangeLog,v 1.19 2006/11/26 09:16:12 mrness Exp $ +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/obexftp/ChangeLog,v 1.20 2007/01/25 07:57:04 mrness Exp $ + + 25 Jan 2007; Alin Nastac + +files/obexftp-0.21-no_iconv.patch, obexftp-0.21.ebuild: + Add nls USE flag (#148618). 26 Nov 2006; Alin Nastac obexftp-0.21.ebuild: Add ruby USE flag (#156041). diff --git a/app-mobilephone/obexftp/files/obexftp-0.21-no_iconv.patch b/app-mobilephone/obexftp/files/obexftp-0.21-no_iconv.patch new file mode 100644 index 000000000000..c6d57d11ae47 --- /dev/null +++ b/app-mobilephone/obexftp/files/obexftp-0.21-no_iconv.patch @@ -0,0 +1,11 @@ +--- obexftp-0.21.orig/configure.in 2006-09-22 09:23:30 +0000 ++++ obexftp-0.21/configure.in 2006-09-22 09:23:47 +0000 +@@ -24,7 +24,7 @@ + # Checks for libraries. + PKG_CHECK_MODULES(OPENOBEX,openobex) + +-AM_ICONV ++dnl AM_ICONV + dnl IRDA_CHECK + BLUETOOTH_CHECK + if test $am_cv_bluetooth_found = yes; then diff --git a/app-mobilephone/obexftp/obexftp-0.21.ebuild b/app-mobilephone/obexftp/obexftp-0.21.ebuild index 02d13fcf57f4..5e625481152e 100644 --- a/app-mobilephone/obexftp/obexftp-0.21.ebuild +++ b/app-mobilephone/obexftp/obexftp-0.21.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/obexftp/obexftp-0.21.ebuild,v 1.7 2006/11/26 09:16:12 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/obexftp/obexftp-0.21.ebuild,v 1.8 2007/01/25 07:57:04 mrness Exp $ inherit eutils perl-module flag-o-matic autotools @@ -11,7 +11,7 @@ HOMEPAGE="http://triq.net/obex" SLOT="0" LICENSE="GPL-2" KEYWORDS="~amd64 ~ppc x86" -IUSE="bluetooth debug perl python ruby swig tcl" +IUSE="bluetooth debug nls perl python ruby swig tcl" RDEPEND=">=dev-libs/openobex-1.1 bluetooth? ( >=net-wireless/bluez-libs-2.19 ) @@ -21,13 +21,15 @@ RDEPEND=">=dev-libs/openobex-1.1 ruby? ( >=dev-lang/ruby-1.8.5 ) swig? ( >=dev-lang/swig-1.3.7 )" DEPEND="${RDEPEND} - dev-util/pkgconfig" + dev-util/pkgconfig + nls? ( sys-devel/gettext )" src_unpack() { unpack ${A} epatch "${FILESDIR}/${P}-cobex_write.patch" epatch "${FILESDIR}/${P}-sdp-detection.patch" + use nls || epatch "${FILESDIR}/${P}-no_iconv.patch" cd "${S}" eautoconf -- cgit v1.2.3-65-gdbad