Added a patch to the configure script to honor the "arts" USE flag.
authorSimone Gotti <motaboy@gentoo.org>
Sun, 31 Oct 2004 23:01:11 +0000 (23:01 +0000)
committerSimone Gotti <motaboy@gentoo.org>
Sun, 31 Oct 2004 23:01:11 +0000 (23:01 +0000)
dev-db/knoda/ChangeLog
dev-db/knoda/Manifest
dev-db/knoda/files/knoda-0.7.1-configure.patch [new file with mode: 0644]
dev-db/knoda/knoda-0.7.1.ebuild

index 1047cd3b2c4050b61ee9040da25ccd3b3f458518..3b0b6a3297af08506a446a816a9bfab1b6d207a2 100644 (file)
@@ -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)
 
index 8f801b93c6fc2bb775c481585e0129463aac6e0d..4cc32db8396fb3b5ddba390f24c16fc32b0e8966 100644 (file)
@@ -1,8 +1,9 @@
-MD5 64c4db1557285e2365e50469e351ccd7 knoda-0.7.1.ebuild 492
+MD5 dda797ba0aa7d0750a954e3dde5c77cc knoda-0.7.1.ebuild 583
 MD5 0a173a22d955e46aff8ed0954b1b99dd knoda-0.6.2a.ebuild 487
-MD5 3b3d33204f80edd91a1d97470a9b9691 ChangeLog 3052
+MD5 24df66f41301c075ee8ff1a642a144f1 ChangeLog 3232
 MD5 33547abcab45cf90abd99849def8dbc7 knoda-0.7.ebuild 540
 MD5 1b6808bbd78c9161f8b7efb090d966f8 metadata.xml 162
 MD5 493cc9285990e6304978998209f0c9bd files/digest-knoda-0.7 62
 MD5 a2245fb5959a678c53a78647758df109 files/digest-knoda-0.7.1 64
+MD5 5010947f33fe747c6d35a4aad7e01122 files/knoda-0.7.1-configure.patch 3567
 MD5 c9c0c3d4377e30205f2c2b49aa56b88c files/digest-knoda-0.6.2a 65
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 (file)
index 0000000..1285521
--- /dev/null
@@ -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
index dd602e91bc262fde897b5497df54f72aeffd24c7..80c12d8030a66b93cc0d19ed38ba5713db591c10 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/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
+}