summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-06-13 12:29:51 +0000
committerJustin Lecher <jlec@gentoo.org>2011-06-13 12:29:51 +0000
commitedb07c5cad91c02a97dbd1155ec0dadb4ad11d14 (patch)
treeaf3e8dd20b7e5280a88ca4913ef0e8e42033ddf9 /dev-libs/tre
parentNo binaryfiles in VCS please, #370915 (diff)
downloadgentoo-2-edb07c5cad91c02a97dbd1155ec0dadb4ad11d14.tar.gz
gentoo-2-edb07c5cad91c02a97dbd1155ec0dadb4ad11d14.tar.bz2
gentoo-2-edb07c5cad91c02a97dbd1155ec0dadb4ad11d14.zip
Fix compilation on CHOST=mingw32, #369947; thanks Nathan Phillip Brink for the patch
(Portage version: 2.2.0_alpha40/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/tre')
-rw-r--r--dev-libs/tre/ChangeLog6
-rw-r--r--dev-libs/tre/tre-0.8.0.ebuild8
2 files changed, 11 insertions, 3 deletions
diff --git a/dev-libs/tre/ChangeLog b/dev-libs/tre/ChangeLog
index 832de5837b13..9788076d6b07 100644
--- a/dev-libs/tre/ChangeLog
+++ b/dev-libs/tre/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/tre
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/tre/ChangeLog,v 1.55 2011/03/27 21:58:04 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/tre/ChangeLog,v 1.56 2011/06/13 12:29:51 jlec Exp $
+
+ 13 Jun 2011; Justin Lecher <jlec@gentoo.org> tre-0.8.0.ebuild:
+ Fix compilation on CHOST=mingw32, #369947; thanks Nathan Phillip Brink for
+ the patch
27 Mar 2011; Jeremy Olexa <darkside@gentoo.org> -tre-0.7.5.ebuild:
remove old ebuilds
diff --git a/dev-libs/tre/tre-0.8.0.ebuild b/dev-libs/tre/tre-0.8.0.ebuild
index 02bcb880c168..9bf13eede578 100644
--- a/dev-libs/tre/tre-0.8.0.ebuild
+++ b/dev-libs/tre/tre-0.8.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/tre/tre-0.8.0.ebuild,v 1.16 2011/03/21 10:54:04 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/tre/tre-0.8.0.ebuild,v 1.17 2011/06/13 12:29:51 jlec Exp $
EAPI=3
@@ -63,7 +63,11 @@ src_test() {
src_install() {
emake DESTDIR="${D}" install || die
- mv ${ED}/usr/bin/agrep{,-tre} || die
+
+ local exe_ext=
+ [[ ${CHOST} = *mingw32* ]] && exe_ext=.exe
+ mv "${ED}"/usr/bin/agrep{,-tre}${exe_ext} || die
+
dodoc AUTHORS ChangeLog NEWS README THANKS TODO || die
dohtml doc/*.{css,html} || die
use python && distutils_src_install