diff options
author | Carsten Lohrke <carlo@gentoo.org> | 2007-05-09 11:51:03 +0000 |
---|---|---|
committer | Carsten Lohrke <carlo@gentoo.org> | 2007-05-09 11:51:03 +0000 |
commit | e8667cbd730ddb1ad5de36e50a5ac9f324f043a8 (patch) | |
tree | 3f34737578ab466861db7d2853d73e2d7913736b /kde-base/kdesdk-kioslaves | |
parent | Add ~x86-fbsd keyword. (diff) | |
download | gentoo-2-e8667cbd730ddb1ad5de36e50a5ac9f324f043a8.tar.gz gentoo-2-e8667cbd730ddb1ad5de36e50a5ac9f324f043a8.tar.bz2 gentoo-2-e8667cbd730ddb1ad5de36e50a5ac9f324f043a8.zip |
Check the dev-libs/apr version Subversion is built against and use the correct config binary.
(Portage version: 2.1.2.7)
Diffstat (limited to 'kde-base/kdesdk-kioslaves')
-rw-r--r-- | kde-base/kdesdk-kioslaves/ChangeLog | 9 | ||||
-rw-r--r-- | kde-base/kdesdk-kioslaves/files/digest-kdesdk-kioslaves-3.5.6-r1 | 3 | ||||
-rw-r--r-- | kde-base/kdesdk-kioslaves/kdesdk-kioslaves-3.5.6-r1.ebuild | 38 |
3 files changed, 49 insertions, 1 deletions
diff --git a/kde-base/kdesdk-kioslaves/ChangeLog b/kde-base/kdesdk-kioslaves/ChangeLog index 3f71e947fa89..2dca667ac3d0 100644 --- a/kde-base/kdesdk-kioslaves/ChangeLog +++ b/kde-base/kdesdk-kioslaves/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for kde-base/kdesdk-kioslaves # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdesdk-kioslaves/ChangeLog,v 1.55 2007/02/04 02:15:05 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdesdk-kioslaves/ChangeLog,v 1.56 2007/05/09 11:51:02 carlo Exp $ + +*kdesdk-kioslaves-3.5.6-r1 (09 May 2007) + + 09 May 2007; Carsten Lohrke <carlo@gentoo.org> + +kdesdk-kioslaves-3.5.6-r1.ebuild: + Check the dev-libs/apr version Subversion is built against and use the + correct config binary. 04 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> -kdesdk-kioslaves-3.5.2.ebuild: diff --git a/kde-base/kdesdk-kioslaves/files/digest-kdesdk-kioslaves-3.5.6-r1 b/kde-base/kdesdk-kioslaves/files/digest-kdesdk-kioslaves-3.5.6-r1 new file mode 100644 index 000000000000..e3795607e98a --- /dev/null +++ b/kde-base/kdesdk-kioslaves/files/digest-kdesdk-kioslaves-3.5.6-r1 @@ -0,0 +1,3 @@ +MD5 1462e1a884fdaa070ed493c10a336728 kdesdk-3.5.6.tar.bz2 5046602 +RMD160 96e96a0ca87aadf8940ceb1dfead385503096a4f kdesdk-3.5.6.tar.bz2 5046602 +SHA256 63cdea02149b38998a4d41899f8da863fd9f9333dd17a8d1d3fea9fc6607d7e4 kdesdk-3.5.6.tar.bz2 5046602 diff --git a/kde-base/kdesdk-kioslaves/kdesdk-kioslaves-3.5.6-r1.ebuild b/kde-base/kdesdk-kioslaves/kdesdk-kioslaves-3.5.6-r1.ebuild new file mode 100644 index 000000000000..b9c27378ba5d --- /dev/null +++ b/kde-base/kdesdk-kioslaves/kdesdk-kioslaves-3.5.6-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdesdk-kioslaves/kdesdk-kioslaves-3.5.6-r1.ebuild,v 1.1 2007/05/09 11:51:03 carlo Exp $ + +KMNAME=kdesdk +KMMODULE=kioslave +MAXKDEVER=$PV +KM_DEPRANGE="$PV $MAXKDEVER" +inherit kde-meta eutils + +DESCRIPTION="kioslaves from kdesdk package: the subversion kioslave" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="kdehiddenvisibility" +DEPEND="dev-util/subversion" + +pkg_setup() { + if [[ -n "$(svn-config --includes | grep -o /usr/include/apr-0)" ]] \ + && ! has_version =dev-libs/apr-0* ; + then + eerror "Subversion has been built against =dev-libs/apr-0*, but no matching version is installed." + die "Please rebuild dev-util/subversion." + fi + if [[ -n "$(svn-config --includes | grep -o /usr/include/apr-1)" ]] \ + && ! has_version =dev-libs/apr-1* ; + then + eerror "Subversion has been built against =dev-libs/apr-1*, but no matching version is installed." + die "Please rebuild dev-util/subversion." + fi +} + +src_comile() { + if [[ -n "$(svn-config --includes | grep -o /usr/include/apr-0)" ]] ; then + myconf="--with-apr-config=/usr/bin/apr-config" + else + myconf="--with-apr-config=/usr/bin/apr-1-config" + fi + kde-meta_src_compile +}
\ No newline at end of file |