diff options
author | Samuli Suominen <drac@gentoo.org> | 2008-01-07 17:19:36 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2008-01-07 17:19:36 +0000 |
commit | 6e6dcd71ccd7d78dd6cf95c9403010206387fc04 (patch) | |
tree | 9d5179708a742e2e727243d0d8244e7972ae596c /x11-misc/accessx/accessx-0951-r1.ebuild | |
parent | Marked ~hppa (LuckyLuke in #gentoo-hppa). (diff) | |
download | gentoo-2-6e6dcd71ccd7d78dd6cf95c9403010206387fc04.tar.gz gentoo-2-6e6dcd71ccd7d78dd6cf95c9403010206387fc04.tar.bz2 gentoo-2-6e6dcd71ccd7d78dd6cf95c9403010206387fc04.zip |
Fix building with a patchset from FreeBSD and keyword ~amd64 wrt #196764, thanks to Martic Berkemeier for reporting. Also respect correct CXX and CXXFLAGS targets and sanitize ebuild.
(Portage version: 2.1.4_rc14)
Diffstat (limited to 'x11-misc/accessx/accessx-0951-r1.ebuild')
-rw-r--r-- | x11-misc/accessx/accessx-0951-r1.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/x11-misc/accessx/accessx-0951-r1.ebuild b/x11-misc/accessx/accessx-0951-r1.ebuild new file mode 100644 index 000000000000..09ee4a3664ca --- /dev/null +++ b/x11-misc/accessx/accessx-0951-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/accessx/accessx-0951-r1.ebuild,v 1.1 2008/01/07 17:19:35 drac Exp $ + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="Interface to the XKEYBOARD extension in X11" +HOMEPAGE="http://cmos-eng.rehab.uiuc.edu/accessx" +SRC_URI="http://cmos-eng.rehab.uiuc.edu/${PN}/software/${PN}${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + dev-lang/tk" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-build.patch +} + +src_compile() { + emake CC="$(tc-getCXX)" OPTS="${CXXFLAGS}" \ + XLIBDIR="-L/usr/$(get_libdir)" || die "emake failed." +} + +src_install() { + dobin accessx ax + dodoc CHANGES README +} |