diff options
author | Simone Gotti <motaboy@gentoo.org> | 2004-10-21 21:38:43 +0000 |
---|---|---|
committer | Simone Gotti <motaboy@gentoo.org> | 2004-10-21 21:38:43 +0000 |
commit | 42e2132775e68502d35397e130d4bd17ab1b5776 (patch) | |
tree | 9387eabcdcedb85252accc259731d66cbc1e5105 | |
parent | stable on alpha and ia64 (Manifest recommit) (diff) | |
download | gentoo-2-42e2132775e68502d35397e130d4bd17ab1b5776.tar.gz gentoo-2-42e2132775e68502d35397e130d4bd17ab1b5776.tar.bz2 gentoo-2-42e2132775e68502d35397e130d4bd17ab1b5776.zip |
Added a patch to configure to honor the "arts" USE flag.
-rw-r--r-- | app-editors/kxmleditor/ChangeLog | 6 | ||||
-rw-r--r-- | app-editors/kxmleditor/files/kxmleditor-1.1.3-configure.patch | 143 | ||||
-rw-r--r-- | app-editors/kxmleditor/kxmleditor-1.1.3.ebuild | 7 |
3 files changed, 154 insertions, 2 deletions
diff --git a/app-editors/kxmleditor/ChangeLog b/app-editors/kxmleditor/ChangeLog index 5eb0bdd346a3..9311e90fb6ed 100644 --- a/app-editors/kxmleditor/ChangeLog +++ b/app-editors/kxmleditor/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-editors/kxmleditor # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/kxmleditor/ChangeLog,v 1.17 2004/10/05 12:19:43 pvdabeel Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/kxmleditor/ChangeLog,v 1.18 2004/10/21 21:38:43 motaboy Exp $ + + 21 Oct 2004; Simone Gotti <motaboy@gentoo.org> + +files/kxmleditor-1.1.3-configure.patch, kxmleditor-1.1.3.ebuild: + Added a patch to configure to honor the "arts" USE flag. 05 Oct 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> kxmleditor-1.0.0.ebuild, kxmleditor-1.1.3.ebuild: diff --git a/app-editors/kxmleditor/files/kxmleditor-1.1.3-configure.patch b/app-editors/kxmleditor/files/kxmleditor-1.1.3-configure.patch new file mode 100644 index 000000000000..baa52209c5f6 --- /dev/null +++ b/app-editors/kxmleditor/files/kxmleditor-1.1.3-configure.patch @@ -0,0 +1,143 @@ +--- configure.orig 2004-10-21 23:19:26.889996584 +0200 ++++ configure 2004-10-21 23:22:34.475479256 +0200 +@@ -23933,139 +23933,7 @@ + + 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 diff --git a/app-editors/kxmleditor/kxmleditor-1.1.3.ebuild b/app-editors/kxmleditor/kxmleditor-1.1.3.ebuild index ee8ea1c2686e..4c57d6c8bd65 100644 --- a/app-editors/kxmleditor/kxmleditor-1.1.3.ebuild +++ b/app-editors/kxmleditor/kxmleditor-1.1.3.ebuild @@ -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/app-editors/kxmleditor/kxmleditor-1.1.3.ebuild,v 1.3 2004/10/05 12:19:43 pvdabeel Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/kxmleditor/kxmleditor-1.1.3.ebuild,v 1.4 2004/10/21 21:38:43 motaboy Exp $ inherit kde @@ -14,3 +14,8 @@ KEYWORDS="x86 ppc ~amd64 sparc" IUSE="" need-kde 3.1 + +src_unpack() { + kde_src_unpack + ! useq arts && epatch ${FILESDIR}/${P}-configure.patch +} |