summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrzemyslaw Maciag <troll@gentoo.org>2007-01-04 15:22:24 +0000
committerPrzemyslaw Maciag <troll@gentoo.org>2007-01-04 15:22:24 +0000
commitce0b804d502235ba41492a08ca571db5789c340b (patch)
tree3b5b1c3d8cb471dcb5a34f335f4c9e02b3c89cec /app-office
parentFix broken autotools handling. (diff)
downloadgentoo-2-ce0b804d502235ba41492a08ca571db5789c340b.tar.gz
gentoo-2-ce0b804d502235ba41492a08ca571db5789c340b.tar.bz2
gentoo-2-ce0b804d502235ba41492a08ca571db5789c340b.zip
Fixed PREFIX in cpp files (see #159400)
(Portage version: 2.1.2_rc4-r4)
Diffstat (limited to 'app-office')
-rw-r--r--app-office/texmaker/ChangeLog7
-rw-r--r--app-office/texmaker/texmaker-1.40.ebuild11
2 files changed, 14 insertions, 4 deletions
diff --git a/app-office/texmaker/ChangeLog b/app-office/texmaker/ChangeLog
index 521abfd3371a..8b1595792c07 100644
--- a/app-office/texmaker/ChangeLog
+++ b/app-office/texmaker/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-office/texmaker
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/ChangeLog,v 1.23 2006/10/09 00:17:22 jokey Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/ChangeLog,v 1.24 2007/01/04 15:22:24 troll Exp $
+
+ 04 Jan 2007; Przemysław Maciąg <troll@gentoo.org> texmaker-1.40.ebuild:
+ Fixed PREFIX use in cpp files (see #159400).
*texmaker-1.40 (09 Oct 2006)
diff --git a/app-office/texmaker/texmaker-1.40.ebuild b/app-office/texmaker/texmaker-1.40.ebuild
index b94c27a4b529..f039e60228de 100644
--- a/app-office/texmaker/texmaker-1.40.ebuild
+++ b/app-office/texmaker/texmaker-1.40.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/texmaker-1.40.ebuild,v 1.1 2006/10/09 00:17:22 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/texmaker-1.40.ebuild,v 1.2 2007/01/04 15:22:24 troll Exp $
inherit eutils versionator qt4
@@ -42,6 +42,13 @@ RDEPEND="${DEPEND}
virtual/ghostscript
media-libs/netpbm"
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ sed -i -e 's/PREFIX"/"\/usr/' *cpp
+}
+
src_compile() {
cd ${S}
qmake -unix texmaker.pro || die "qmake failed"