Added a patch to the configure script to honor the arts USE flag. Fixes bug #69790.
authorSimone Gotti <motaboy@gentoo.org>
Tue, 2 Nov 2004 21:56:19 +0000 (21:56 +0000)
committerSimone Gotti <motaboy@gentoo.org>
Tue, 2 Nov 2004 21:56:19 +0000 (21:56 +0000)
net-ftp/kbear/ChangeLog
net-ftp/kbear/Manifest
net-ftp/kbear/files/kbear-2.1.1-configure.patch [new file with mode: 0644]
net-ftp/kbear/kbear-2.1.1.ebuild

index 9fb4f353548d5c5e61c1ad52a15a6c3f2929cc86..ba86521d69da549d31ee33c6dd726a8494c3d798 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for net-ftp/kbear
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/kbear/ChangeLog,v 1.19 2004/07/14 14:43:59 lv Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/kbear/ChangeLog,v 1.20 2004/11/02 21:56:19 motaboy Exp $
+
+  02 Nov 2004; Simone Gotti <motaboy@gentoo.org>
+  +files/kbear-2.1.1-configure.patch, kbear-2.1.1.ebuild:
+  Added a patch to the configure script to honor the arts USE flag. Fixes bug
+  #69790.
 
   14 Jul 2004; Travis Tilley <lv@gentoo.org> +files/kbear-2.1.1-gcc-3.4.patch,
   kbear-2.1.1.ebuild:
index 433efd8f311b9bcac9f4caac566e6d46b58a67eb..c0c376afcab27a57f179512eca3593e0f1043d02 100644 (file)
@@ -1,7 +1,8 @@
 MD5 f149470fcf4c463f0be61787138a41fc kbear-2.1.ebuild 434
-MD5 0d4fd3005b73189ff8a0b90ce7b59258 kbear-2.1.1.ebuild 603
-MD5 c847f92f75293fdf6d69e9fbd47f297c ChangeLog 2412
+MD5 0258da2f33ea331a19a75340c1d3dda6 kbear-2.1.1.ebuild 655
+MD5 520ae165e5bcd50cb8b7a1f2842c2872 ChangeLog 2613
 MD5 96a4184e1e3325923219a5f96a5511a5 metadata.xml 163
+MD5 1ba81f001901f16e706f51509efa1795 files/kbear-2.1.1-configure.patch 3567
 MD5 67ad0828ae3ed0456eb1df602e387fd3 files/kbear-2.1.1-gcc-3.4.patch 11736
 MD5 443afedd3087f5872adc90384c861095 files/digest-kbear-2.1.1 71
 MD5 6fe61e051af03f1c709e33c882a9c65a files/digest-kbear-2.1 69
diff --git a/net-ftp/kbear/files/kbear-2.1.1-configure.patch b/net-ftp/kbear/files/kbear-2.1.1-configure.patch
new file mode 100644 (file)
index 0000000..e4454f4
--- /dev/null
@@ -0,0 +1,141 @@
+--- configure.orig     2004-11-02 10:38:48.370909440 +0100
++++ configure  2004-11-02 10:39:38.251326464 +0100
+@@ -23867,138 +23867,6 @@
+    fi
+ 
+ 
+-   echo "$as_me:$LINENO: checking for mcopidl" >&5
+-echo $ECHO_N "checking for mcopidl... $ECHO_C" >&6
+-   if test -n "$MCOPIDL"; then
+-        kde_cv_path="$MCOPIDL";
+-   else
+-        kde_cache=`echo mcopidl | sed 'y%./+-%__p_%'`
+-
+-        if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-        kde_cv_path="NONE"
+-      dirs="$kde_default_bindirs"
+-      kde_save_IFS=$IFS
+-      IFS=':'
+-      for dir in $PATH; do
+-        dirs="$dirs $dir"
+-        done
+-      IFS=$kde_save_IFS
+-
+-        for dir in $dirs; do
+-        if test -x "$dir/mcopidl"; then
+-          if test -n ""
+-          then
+-              evalstr="$dir/mcopidl  2>&1 "
+-            if eval $evalstr; then
+-                kde_cv_path="$dir/mcopidl"
+-                break
+-            fi
+-            else
+-              kde_cv_path="$dir/mcopidl"
+-                break
+-          fi
+-          fi
+-        done
+-
+-        eval "kde_cv_path_$kde_cache=$kde_cv_path"
+-
+-
+-fi
+-
+-
+-      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
+-
+-   fi
+-
+-   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
+-      echo "$as_me:$LINENO: result: not found" >&5
+-echo "${ECHO_T}not found" >&6
+-
+-    { { echo "$as_me:$LINENO: error: The important program mcopidl was not found!
+-Please check whether you installed aRts correctly.
+-" >&5
+-echo "$as_me: error: The important program mcopidl was not found!
+-Please check whether you installed aRts correctly.
+-" >&2;}
+-   { (exit 1); exit 1; }; }
+-
+-   else
+-      echo "$as_me:$LINENO: result: $kde_cv_path" >&5
+-echo "${ECHO_T}$kde_cv_path" >&6
+-      MCOPIDL=$kde_cv_path
+-
+-   fi
+-
+-
+-   echo "$as_me:$LINENO: checking for artsc-config" >&5
+-echo $ECHO_N "checking for artsc-config... $ECHO_C" >&6
+-   if test -n "$ARTSCCONFIG"; then
+-        kde_cv_path="$ARTSCCONFIG";
+-   else
+-        kde_cache=`echo artsc-config | sed 'y%./+-%__p_%'`
+-
+-        if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-        kde_cv_path="NONE"
+-      dirs="$kde_default_bindirs"
+-      kde_save_IFS=$IFS
+-      IFS=':'
+-      for dir in $PATH; do
+-        dirs="$dirs $dir"
+-        done
+-      IFS=$kde_save_IFS
+-
+-        for dir in $dirs; do
+-        if test -x "$dir/artsc-config"; then
+-          if test -n ""
+-          then
+-              evalstr="$dir/artsc-config  2>&1 "
+-            if eval $evalstr; then
+-                kde_cv_path="$dir/artsc-config"
+-                break
+-            fi
+-            else
+-              kde_cv_path="$dir/artsc-config"
+-                break
+-          fi
+-          fi
+-        done
+-
+-        eval "kde_cv_path_$kde_cache=$kde_cv_path"
+-
+-
+-fi
+-
+-
+-      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
+-
+-   fi
+-
+-   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
+-      echo "$as_me:$LINENO: result: not found" >&5
+-echo "${ECHO_T}not found" >&6
+-
+-    { { echo "$as_me:$LINENO: error: The important program artsc-config was not found!
+-Please check whether you installed aRts correctly.
+-" >&5
+-echo "$as_me: error: The important program artsc-config was not found!
+-Please check whether you installed aRts correctly.
+-" >&2;}
+-   { (exit 1); exit 1; }; }
+-
+-   else
+-      echo "$as_me:$LINENO: result: $kde_cv_path" >&5
+-echo "${ECHO_T}$kde_cv_path" >&6
+-      ARTSCCONFIG=$kde_cv_path
+-
+-   fi
+-
+-
+    echo "$as_me:$LINENO: checking for kde-config" >&5
+ echo $ECHO_N "checking for kde-config... $ECHO_C" >&6
+    if test -n "$KDECONFIG"; then
index 0089b0bf11c4ef4fd7513f4a375578bebd9b895f..e1f35f990c996441edeb6bf9b49c9459e4c79e2d 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/kbear/kbear-2.1.1.ebuild,v 1.5 2004/07/14 14:43:59 lv Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/kbear/kbear-2.1.1.ebuild,v 1.6 2004/11/02 21:56:19 motaboy Exp $
 
 inherit kde flag-o-matic eutils
 
@@ -21,6 +21,7 @@ src_unpack() {
        use amd64 && append-flags -fPIC
        kde_src_unpack
        cd ${S}
-       epatch ${FILESDIR}/kbear-2.1.1-gcc-3.4.patch
+       useq arts || epatch ${FILESDIR}/${P}-configure.patch
+       epatch ${FILESDIR}/${P}-gcc-3.4.patch
 }