From: Simone Gotti Date: Sun, 26 Dec 2004 10:52:35 +0000 (+0000) Subject: Added a patch to the configure script to honor the arts USE flag. Fixes bug #75592. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b4cab45be7a09b599650f0baaa53834b70786e7d;p=gentoo.git Added a patch to the configure script to honor the arts USE flag. Fixes bug #75592. --- diff --git a/net-www/khttrack/ChangeLog b/net-www/khttrack/ChangeLog index f688c42233cd..dfa4c5327851 100644 --- a/net-www/khttrack/ChangeLog +++ b/net-www/khttrack/ChangeLog @@ -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 + +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 khttrack-0.10.ebuild: diff --git a/net-www/khttrack/Manifest b/net-www/khttrack/Manifest index 980d0740a0a3..cb4268083479 100644 --- a/net-www/khttrack/Manifest +++ b/net-www/khttrack/Manifest @@ -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 index 000000000000..6de10ab8d077 --- /dev/null +++ b/net-www/khttrack/files/khttrack-0.10-configure-arts.patch @@ -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 diff --git a/net-www/khttrack/khttrack-0.10.ebuild b/net-www/khttrack/khttrack-0.10.ebuild index 3d62a7aff492..27e17376ce04 100644 --- a/net-www/khttrack/khttrack-0.10.ebuild +++ b/net-www/khttrack/khttrack-0.10.ebuild @@ -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 +}