summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2007-09-06 06:23:28 +0000
committerAlin Năstac <mrness@gentoo.org>2007-09-06 06:23:28 +0000
commit166b44c3092408d48d175cfd997384ed447f0953 (patch)
treed517e18f2a5dbfab9e91e27a3dc17f58ef4cc87a /app-mobilephone/obexftp
parentstable x86, bug 190643 (diff)
downloadgentoo-2-166b44c3092408d48d175cfd997384ed447f0953.tar.gz
gentoo-2-166b44c3092408d48d175cfd997384ed447f0953.tar.bz2
gentoo-2-166b44c3092408d48d175cfd997384ed447f0953.zip
Fix compile error when USE="ruby -bluetooth" (#174507).
(Portage version: 2.1.2.12)
Diffstat (limited to 'app-mobilephone/obexftp')
-rw-r--r--app-mobilephone/obexftp/ChangeLog5
-rw-r--r--app-mobilephone/obexftp/obexftp-0.22_rc7.ebuild5
2 files changed, 8 insertions, 2 deletions
diff --git a/app-mobilephone/obexftp/ChangeLog b/app-mobilephone/obexftp/ChangeLog
index 95dab96b8b1b..90e6d2081fa4 100644
--- a/app-mobilephone/obexftp/ChangeLog
+++ b/app-mobilephone/obexftp/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-mobilephone/obexftp
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/obexftp/ChangeLog,v 1.30 2007/09/05 13:56:13 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/obexftp/ChangeLog,v 1.31 2007/09/06 06:23:28 mrness Exp $
+
+ 06 Sep 2007; Alin Năstac <mrness@gentoo.org> obexftp-0.22_rc7.ebuild:
+ Fix compile error when USE="ruby -bluetooth" (#174507).
*obexftp-0.22_rc7 (05 Sep 2007)
diff --git a/app-mobilephone/obexftp/obexftp-0.22_rc7.ebuild b/app-mobilephone/obexftp/obexftp-0.22_rc7.ebuild
index d6bc515328b1..7c1277699079 100644
--- a/app-mobilephone/obexftp/obexftp-0.22_rc7.ebuild
+++ b/app-mobilephone/obexftp/obexftp-0.22_rc7.ebuild
@@ -1,6 +1,6 @@
# 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.22_rc7.ebuild,v 1.1 2007/09/05 13:56:13 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/obexftp/obexftp-0.22_rc7.ebuild,v 1.2 2007/09/06 06:23:28 mrness Exp $
inherit eutils perl-module flag-o-matic
@@ -34,6 +34,9 @@ src_compile() {
strip-flags
append-flags "-g -DOBEXFTP_DEBUG=5"
fi
+ if use ruby && ! use bluetooth ; then
+ sed -i -e "s/^\(.*bluetooth.*\)$/#\1/" swig/ruby/extconf.rb
+ fi
econf \
$(use_enable bluetooth) \