diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-10-22 21:18:37 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-10-22 21:18:37 +0000 |
commit | 644a678a7588d18fefb32e679e9230d66b2d43e8 (patch) | |
tree | 2fc7678f82a19fa73696cdc850e9759e75a9992e /app-misc/joy2key | |
parent | Added support for FreeBSD 6.2. (diff) | |
download | gentoo-2-644a678a7588d18fefb32e679e9230d66b2d43e8.tar.gz gentoo-2-644a678a7588d18fefb32e679e9230d66b2d43e8.tar.bz2 gentoo-2-644a678a7588d18fefb32e679e9230d66b2d43e8.zip |
Fix autotools handling, and use filter-flag. Close bug #152132, thanks to Patrick Lauer for reporting.
(Portage version: 2.1.2_pre3-r6)
Diffstat (limited to 'app-misc/joy2key')
-rw-r--r-- | app-misc/joy2key/ChangeLog | 7 | ||||
-rw-r--r-- | app-misc/joy2key/files/digest-joy2key-1.6 | 2 | ||||
-rw-r--r-- | app-misc/joy2key/files/digest-joy2key-1.6.1 | 2 | ||||
-rw-r--r-- | app-misc/joy2key/joy2key-1.6.1.ebuild | 18 | ||||
-rw-r--r-- | app-misc/joy2key/joy2key-1.6.ebuild | 18 |
5 files changed, 30 insertions, 17 deletions
diff --git a/app-misc/joy2key/ChangeLog b/app-misc/joy2key/ChangeLog index e10ba7b4269f..0a82dae810f6 100644 --- a/app-misc/joy2key/ChangeLog +++ b/app-misc/joy2key/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-misc/joy2key # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/joy2key/ChangeLog,v 1.13 2006/03/15 16:01:00 caleb Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/joy2key/ChangeLog,v 1.14 2006/10/22 21:18:37 flameeyes Exp $ + + 22 Oct 2006; Diego Pettenò <flameeyes@gentoo.org> joy2key-1.6.ebuild, + joy2key-1.6.1.ebuild: + Fix autotools handling, and use filter-flag. Close bug #152132, thanks to + Patrick Lauer for reporting. 15 Mar 2006; Caleb Tennis <caleb@gentoo.org> joy2key-1.6.ebuild, joy2key-1.6.1.ebuild: diff --git a/app-misc/joy2key/files/digest-joy2key-1.6 b/app-misc/joy2key/files/digest-joy2key-1.6 index 6c3103268552..72661aecd0fa 100644 --- a/app-misc/joy2key/files/digest-joy2key-1.6 +++ b/app-misc/joy2key/files/digest-joy2key-1.6 @@ -1 +1,3 @@ MD5 efe27b01dd142973ae79daea0c00cd81 joy2key-1.6.tar.gz 41007 +RMD160 5471f985f65a73d073eac1d03a0f8e0e82de03e6 joy2key-1.6.tar.gz 41007 +SHA256 f4dfe9d12d123443ab5a860aeda0e0e19db2d9d1dc38fd532f59fd7b0dfe100b joy2key-1.6.tar.gz 41007 diff --git a/app-misc/joy2key/files/digest-joy2key-1.6.1 b/app-misc/joy2key/files/digest-joy2key-1.6.1 index 37953c317a2b..4a0d8a291e57 100644 --- a/app-misc/joy2key/files/digest-joy2key-1.6.1 +++ b/app-misc/joy2key/files/digest-joy2key-1.6.1 @@ -1 +1,3 @@ MD5 9b0888140fde5d89eff754ff50645c10 joy2key-1.6.1.tar.gz 76708 +RMD160 e771e67a47d73b825f75eff2aecb15359e56f03a joy2key-1.6.1.tar.gz 76708 +SHA256 a9ea6fbff0780197b2eb4b49a6b6fa1dad87f99b81eaf9ea97e05057b3cd3d7e joy2key-1.6.1.tar.gz 76708 diff --git a/app-misc/joy2key/joy2key-1.6.1.ebuild b/app-misc/joy2key/joy2key-1.6.1.ebuild index 856469b6ab21..c3a79d2c2d5b 100644 --- a/app-misc/joy2key/joy2key-1.6.1.ebuild +++ b/app-misc/joy2key/joy2key-1.6.1.ebuild @@ -1,8 +1,11 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/joy2key/joy2key-1.6.1.ebuild,v 1.3 2006/03/15 16:01:00 caleb Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/joy2key/joy2key-1.6.1.ebuild,v 1.4 2006/10/22 21:18:37 flameeyes Exp $ -inherit eutils +WANT_AUTOCONF="latest" +WANT_AUTOMAKE="latest" + +inherit eutils autotools flag-o-matic DESCRIPTION="An application that translates joystick events to keyboard events" HOMEPAGE="http://interreality.org/~tetron/technology/joy2key/" @@ -17,22 +20,21 @@ DEPEND="X? ( || ( x11-libs/libX11 virtual/x11 ) )" src_unpack() { unpack ${A} - cd ${S} + cd "${S}" # fix-configure.in.diff fix issue with blank -L blocking -lX11 # Thanks to Joshua Baergen in bug #82685 - epatch ${FILESDIR}/${PV}-fix-configure.diff + epatch "${FILESDIR}/${PV}-fix-configure.diff" + eautoreconf } src_compile() { - autoreconf --force - local myconf use X || myconf="--disable-X" - CFLAGS=${CFLAGS/-O?/} + filter-flags -O? econf ${myconf} || die "econf failed" - make || die + emake || die } src_install() { diff --git a/app-misc/joy2key/joy2key-1.6.ebuild b/app-misc/joy2key/joy2key-1.6.ebuild index bcb14cc98a52..1819ec63cd49 100644 --- a/app-misc/joy2key/joy2key-1.6.ebuild +++ b/app-misc/joy2key/joy2key-1.6.ebuild @@ -1,8 +1,11 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/joy2key/joy2key-1.6.ebuild,v 1.21 2006/03/15 16:01:00 caleb Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/joy2key/joy2key-1.6.ebuild,v 1.22 2006/10/22 21:18:37 flameeyes Exp $ -inherit eutils +WANT_AUTOCONF="latest" +WANT_AUTOMAKE="latest" + +inherit eutils autotools flag-o-matic DESCRIPTION="An application that translates joystick events to keyboard events" SRC_URI="http://www-unix.oit.umass.edu/~tetron/technology/joy2key/${P}.tar.gz" @@ -17,22 +20,21 @@ DEPEND="X? ( || ( x11-libs/libX11 virtual/x11 ) )" src_unpack() { unpack ${A} - cd ${S} + cd "${S}" # fix-configure.in.diff fix issue with blank -L blocking -lX11 # Thanks to Joshua Baergen in bug #82685 - epatch ${FILESDIR}/fix-configure.in.diff + epatch "${FILESDIR}/fix-configure.in.diff" + eautoreconf } src_compile() { - autoreconf --force - local myconf use X || myconf="--disable-X" - CFLAGS=${CFLAGS/-O?/} + filter-flags -O? econf ${myconf} || die "econf failed" - make || die + emake || die } src_install() { |