diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-10-28 23:36:28 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-10-28 23:36:28 +0000 |
commit | 9b348284261535249cc6cbda4d301cd7f0dcbb05 (patch) | |
tree | 5e192477b6b4e74283993701f50bfb5e258e3df6 /media-sound/vkeybd | |
parent | Fix autoconf deps. (diff) | |
download | historical-9b348284261535249cc6cbda4d301cd7f0dcbb05.tar.gz historical-9b348284261535249cc6cbda4d301cd7f0dcbb05.tar.bz2 historical-9b348284261535249cc6cbda4d301cd7f0dcbb05.zip |
Fix building with alsa useflag disabled. Thanks to Patrick Lauer for reporting in bug #153150.
Package-Manager: portage-2.1.2_rc1
Diffstat (limited to 'media-sound/vkeybd')
-rw-r--r-- | media-sound/vkeybd/ChangeLog | 7 | ||||
-rw-r--r-- | media-sound/vkeybd/files/digest-vkeybd-0.1.15-r1 | 2 | ||||
-rw-r--r-- | media-sound/vkeybd/vkeybd-0.1.15-r1.ebuild | 20 |
3 files changed, 18 insertions, 11 deletions
diff --git a/media-sound/vkeybd/ChangeLog b/media-sound/vkeybd/ChangeLog index 71d3ad393229..2ff923311530 100644 --- a/media-sound/vkeybd/ChangeLog +++ b/media-sound/vkeybd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-sound/vkeybd # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/vkeybd/ChangeLog,v 1.23 2006/08/27 23:18:00 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/vkeybd/ChangeLog,v 1.24 2006/10/28 23:36:28 flameeyes Exp $ + + 28 Oct 2006; Diego Pettenò <flameeyes@gentoo.org> + vkeybd-0.1.15-r1.ebuild: + Fix building with alsa useflag disabled. Thanks to Patrick Lauer for + reporting in bug #153150. 27 Aug 2006; Michael Sterrett <mr_bones_@gentoo.org> -vkeybd-0.1.15.ebuild: diff --git a/media-sound/vkeybd/files/digest-vkeybd-0.1.15-r1 b/media-sound/vkeybd/files/digest-vkeybd-0.1.15-r1 index 5eb74cd7fb0d..9364939e7b17 100644 --- a/media-sound/vkeybd/files/digest-vkeybd-0.1.15-r1 +++ b/media-sound/vkeybd/files/digest-vkeybd-0.1.15-r1 @@ -1 +1,3 @@ MD5 cf5112b4119ee21be7a819533777ba01 vkeybd-0.1.15.tar.gz 26117 +RMD160 51382b99528a1e6ba6b48e07a4840d0e655eddd9 vkeybd-0.1.15.tar.gz 26117 +SHA256 a77e5376ab850d829e5759fcd82b236d5f92a6fd5826add84635e851f1b336a1 vkeybd-0.1.15.tar.gz 26117 diff --git a/media-sound/vkeybd/vkeybd-0.1.15-r1.ebuild b/media-sound/vkeybd/vkeybd-0.1.15-r1.ebuild index 268897549fa8..5e0539b8043e 100644 --- a/media-sound/vkeybd/vkeybd-0.1.15-r1.ebuild +++ b/media-sound/vkeybd/vkeybd-0.1.15-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/vkeybd/vkeybd-0.1.15-r1.ebuild,v 1.5 2006/07/24 00:26:46 tsunam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/vkeybd/vkeybd-0.1.15-r1.ebuild,v 1.6 2006/10/28 23:36:28 flameeyes Exp $ IUSE="alsa oss ladcca" @@ -26,10 +26,10 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${PN} -src_compile() { +pkg_setup() { TCL_VERSION=`echo 'puts [info tclversion]' | tclsh` - local myconf="PREFIX=/usr" + myconf="PREFIX=/usr" #vkeybd requires at least one of its USE_ variable to be set if use alsa ; then @@ -41,17 +41,17 @@ src_compile() { if use ladcca ; then myconf="${myconf} USE_LADCCA=1" - sed -i "s/USE_LADCCA *=.*$/USE_LADCCA = 1/" ${S}/Makefile || \ - die "Error altering Makefile" fi - make ${myconf} TCL_VERSION=$TCL_VERSION || die "Make failed." + myconf="${myconf} TCL_VERSION=${TCL_VERSION}" +} + +src_compile() { + emake ${myconf} || die "Make failed." } src_install() { - make DESTDIR=${D} TCL_VERSION=$TCL_VERSION PREFIX=/usr install || \ - die "Installation Failed" - make DESTDIR=${D} TCL_VERSION=$TCL_VERSION PREFIX=/usr install-man || \ - die "Man-Page Installation Failed" + emake DESTDIR="${D}" install || die "Installation Failed" + emake DESTDIR="${D}" install-man || die "Man-Page Installation Failed" dodoc README } |