summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimone Gotti <motaboy@gentoo.org>2004-10-31 23:01:11 +0000
committerSimone Gotti <motaboy@gentoo.org>2004-10-31 23:01:11 +0000
commit97b23ef6a76104e6be22a2e7f1b62a5d3fea5ca3 (patch)
treea4dce747b1596e71f18aefc65f37e7cea61a5ad4 /dev-db/knoda
parentStable on alpha. (Manifest recommit) (diff)
downloadgentoo-2-97b23ef6a76104e6be22a2e7f1b62a5d3fea5ca3.tar.gz
gentoo-2-97b23ef6a76104e6be22a2e7f1b62a5d3fea5ca3.tar.bz2
gentoo-2-97b23ef6a76104e6be22a2e7f1b62a5d3fea5ca3.zip
Added a patch to the configure script to honor the "arts" USE flag.
Diffstat (limited to 'dev-db/knoda')
-rw-r--r--dev-db/knoda/ChangeLog6
-rw-r--r--dev-db/knoda/files/knoda-0.7.1-configure.patch141
-rw-r--r--dev-db/knoda/knoda-0.7.1.ebuild8
3 files changed, 153 insertions, 2 deletions
diff --git a/dev-db/knoda/ChangeLog b/dev-db/knoda/ChangeLog
index 1047cd3b2c40..3b0b6a3297af 100644
--- a/dev-db/knoda/ChangeLog
+++ b/dev-db/knoda/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-db/knoda
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/knoda/ChangeLog,v 1.20 2004/09/20 02:51:39 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/knoda/ChangeLog,v 1.21 2004/10/31 23:01:11 motaboy Exp $
+
+ 31 Oct 2004; Simone Gotti <motaboy@gentoo.org>
+ +files/knoda-0.7.1-configure.patch, knoda-0.7.1.ebuild:
+ Added a patch to the configure script to honor the "arts" USE flag.
*knoda-0.7.1 (19 Sep 2004)
diff --git a/dev-db/knoda/files/knoda-0.7.1-configure.patch b/dev-db/knoda/files/knoda-0.7.1-configure.patch
new file mode 100644
index 000000000000..12855216f392
--- /dev/null
+++ b/dev-db/knoda/files/knoda-0.7.1-configure.patch
@@ -0,0 +1,141 @@
+--- configure.orig 2004-10-31 22:43:17.944347392 +0100
++++ configure 2004-10-31 22:44:16.531440800 +0100
+@@ -25240,138 +25240,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
diff --git a/dev-db/knoda/knoda-0.7.1.ebuild b/dev-db/knoda/knoda-0.7.1.ebuild
index dd602e91bc26..80c12d8030a6 100644
--- a/dev-db/knoda/knoda-0.7.1.ebuild
+++ b/dev-db/knoda/knoda-0.7.1.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/dev-db/knoda/knoda-0.7.1.ebuild,v 1.1 2004/09/20 02:51:39 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/knoda/knoda-0.7.1.ebuild,v 1.2 2004/10/31 23:01:11 motaboy Exp $
inherit kde
@@ -15,3 +15,9 @@ IUSE=""
DEPEND=">=dev-db/hk_classes-${PV}"
need-kde 3
+
+src_unpack() {
+ kde_src_unpack
+
+ useq arts || epatch ${FILESDIR}/${P}-configure.patch
+}