Added a patch to the configure script to honor the arts USE flag. Fixes bug #75592.
authorSimone Gotti <motaboy@gentoo.org>
Sun, 26 Dec 2004 10:52:35 +0000 (10:52 +0000)
committerSimone Gotti <motaboy@gentoo.org>
Sun, 26 Dec 2004 10:52:35 +0000 (10:52 +0000)
net-www/khttrack/ChangeLog
net-www/khttrack/Manifest
net-www/khttrack/files/khttrack-0.10-configure-arts.patch [new file with mode: 0644]
net-www/khttrack/khttrack-0.10.ebuild

index f688c42233cd5642c494f08f80be5d30e2b517a2..dfa4c5327851b56966a4279f6b4165d658bef870 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for net-www/khttrack
 # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/khttrack/ChangeLog,v 1.7 2004/09/03 23:24:08 pvdabeel Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/khttrack/ChangeLog,v 1.8 2004/12/26 10:52:35 motaboy Exp $
+
+  26 Dec 2004; Simone Gotti <motaboy@gentoo.org>
+  +files/khttrack-0.10-configure-arts.patch, khttrack-0.10.ebuild:
+  Added a patch to the configure script to honor the arts USE flag. Fixes bug
+  #75592.
 
   04 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
   khttrack-0.10.ebuild:
index 980d0740a0a34bf7283f61e5c62087a01b2ddafd..cb4268083479471b047ec6bf43cc5a75ef89bb21 100644 (file)
@@ -1,4 +1,5 @@
-MD5 3b9fbb711cb08a028e73185c530e272a ChangeLog 961
-MD5 a329831c7e216478957c397399b8960f khttrack-0.10.ebuild 523
+MD5 c94cb1d65b3b6f2f5449c1f55502f44f khttrack-0.10.ebuild 631
+MD5 d0827374cbbfcc9a9cd40889f52c5d6e ChangeLog 1165
 MD5 1b6808bbd78c9161f8b7efb090d966f8 metadata.xml 162
 MD5 b7559176556c585532688229e5222397 files/digest-khttrack-0.10 66
+MD5 7641fbc59a4910d2a24229ec84ed5c1c files/khttrack-0.10-configure-arts.patch 3131
diff --git a/net-www/khttrack/files/khttrack-0.10-configure-arts.patch b/net-www/khttrack/files/khttrack-0.10-configure-arts.patch
new file mode 100644 (file)
index 0000000..6de10ab
--- /dev/null
@@ -0,0 +1,129 @@
+--- configure  2003-06-08 18:25:45.000000000 +0000
++++ configure.orig     2004-12-26 11:39:44.433634864 +0000
+@@ -8399,126 +8399,6 @@
+    fi
+ 
+         
+-   echo $ac_n "checking for mcopidl""... $ac_c" 1>&6
+-echo "configure:8404: checking for mcopidl" >&5
+-   if test -n "$MCOPIDL"; then
+-        kde_cv_path="$MCOPIDL";
+-   else
+-        kde_cache=`echo mcopidl | sed 'y%./+-%__p_%'`
+-
+-        if eval "test \"`echo '$''{'kde_cv_path_$kde_cache'+set}'`\" = set"; then
+-  echo $ac_n "(cached) $ac_c" 1>&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 "$ac_t""not found" 1>&6
+-      
+-    { echo "configure: error: The important program mcopidl was not found!
+-Please check whether you installed KDE correctly.
+-" 1>&2; exit 1; }
+-
+-   else
+-      echo "$ac_t""$kde_cv_path" 1>&6
+-      MCOPIDL=$kde_cv_path
+-
+-   fi
+-
+-        
+-   echo $ac_n "checking for artsc-config""... $ac_c" 1>&6
+-echo "configure:8464: checking for artsc-config" >&5
+-   if test -n "$ARTSCCONFIG"; then
+-        kde_cv_path="$ARTSCCONFIG";
+-   else
+-        kde_cache=`echo artsc-config | sed 'y%./+-%__p_%'`
+-
+-        if eval "test \"`echo '$''{'kde_cv_path_$kde_cache'+set}'`\" = set"; then
+-  echo $ac_n "(cached) $ac_c" 1>&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 "$ac_t""not found" 1>&6
+-      
+-    { echo "configure: error: The important program artsc-config was not found!
+-Please check whether you installed KDE correctly.
+-" 1>&2; exit 1; }
+-
+-   else
+-      echo "$ac_t""$kde_cv_path" 1>&6
+-      ARTSCCONFIG=$kde_cv_path
+-
+-   fi
+-
+-        
+    echo $ac_n "checking for kde-config""... $ac_c" 1>&6
+ echo "configure:8524: checking for kde-config" >&5
+    if test -n "$KDECONFIG"; then
index 3d62a7aff4922faeb6a61a99b2b70f23b07bc85f..27e17376ce0415c38d9591b50277bac1e27ed176 100644 (file)
@@ -1,8 +1,8 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/khttrack/khttrack-0.10.ebuild,v 1.10 2004/09/03 23:24:08 pvdabeel Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/khttrack/khttrack-0.10.ebuild,v 1.11 2004/12/26 10:52:35 motaboy Exp $
 
-inherit kde
+inherit kde eutils
 
 DESCRIPTION="KDE 3.x frontend for httrack"
 SRC_URI="http://savannah.nongnu.org/download/khttrack/stable.pkg/${PV}/${P}.tar.bz2"
@@ -16,3 +16,9 @@ IUSE=""
 DEPEND="net-www/httrack"
 RDEPEND="net-www/httrack"
 need-kde 3
+
+src_unpack() {
+       kde_src_unpack
+
+       use arts || epatch ${FILESDIR}/khttrack-0.10-configure-arts.patch
+}