summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2004-10-17 18:05:36 +0000
committerAlastair Tse <liquidx@gentoo.org>2004-10-17 18:05:36 +0000
commitbde9a2ff8a42a047bc74eff232bb1d8f4aae9cb8 (patch)
treece491754dca9add5ac6d490d317909b6f0676ca5 /x11-libs/gtkscintilla2
parentStable on ppc. (Manifest recommit) (diff)
downloadgentoo-2-bde9a2ff8a42a047bc74eff232bb1d8f4aae9cb8.tar.gz
gentoo-2-bde9a2ff8a42a047bc74eff232bb1d8f4aae9cb8.tar.bz2
gentoo-2-bde9a2ff8a42a047bc74eff232bb1d8f4aae9cb8.zip
stable bump, plus link to gthread-2.0 (#38279)
Diffstat (limited to 'x11-libs/gtkscintilla2')
-rw-r--r--x11-libs/gtkscintilla2/ChangeLog5
-rw-r--r--x11-libs/gtkscintilla2/gtkscintilla2-0.1.0.ebuild17
2 files changed, 12 insertions, 10 deletions
diff --git a/x11-libs/gtkscintilla2/ChangeLog b/x11-libs/gtkscintilla2/ChangeLog
index 7aa99e7922b0..c0ed7342383e 100644
--- a/x11-libs/gtkscintilla2/ChangeLog
+++ b/x11-libs/gtkscintilla2/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-libs/gtkscintilla2
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtkscintilla2/ChangeLog,v 1.7 2004/06/24 22:02:55 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtkscintilla2/ChangeLog,v 1.8 2004/10/17 18:05:36 liquidx Exp $
+
+ 17 Oct 2004; Alastair Tse <liquidx@gentoo.org> gtkscintilla2-0.1.0.ebuild:
+ stable bump, plus link to gthread-2.0 (#38279)
13 Mar 2004; David Holm <dholm@gentoo.org> gtkscintilla2-0.1.0.ebuild:
Added to ~ppc.
diff --git a/x11-libs/gtkscintilla2/gtkscintilla2-0.1.0.ebuild b/x11-libs/gtkscintilla2/gtkscintilla2-0.1.0.ebuild
index d1639a1286c3..8f863d456537 100644
--- a/x11-libs/gtkscintilla2/gtkscintilla2-0.1.0.ebuild
+++ b/x11-libs/gtkscintilla2/gtkscintilla2-0.1.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtkscintilla2/gtkscintilla2-0.1.0.ebuild,v 1.5 2004/10/05 12:16:03 pvdabeel Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtkscintilla2/gtkscintilla2-0.1.0.ebuild,v 1.6 2004/10/17 18:05:36 liquidx Exp $
MY_P="GtkScintilla2-${PV}"
DESCRIPTION="Gtk-2 wrappers for the Scintilla source editing components."
@@ -9,7 +9,7 @@ SRC_URI="http://gphpedit.org/download/files/${MY_P}.tar.gz"
IUSE=""
SLOT="0"
-KEYWORDS="~x86 ~amd64 ppc"
+KEYWORDS="x86 ~amd64 ppc"
LICENSE="GPL-2"
RDEPEND=">=x11-libs/gtk+-2.0"
@@ -27,20 +27,19 @@ src_unpack() {
# some quick touches to the Makefile, bump the version
# and make use of our CFLAGS
- cp Makefile Makefile.orig
- sed -e "/CFLAGS/s/-g/${CFLAGS} -fPIC/" < Makefile.orig > Makefile
+ GTHREAD_LDFLAGS="$(pkg-config gthread-2.0 --libs)"
+ sed -e "/CFLAGS/s/-g/${CFLAGS} -fPIC/" \
+ -e "s/^LDFLAGS_PRE =/LDFLAGS_PRE = ${GTHREAD_LDFLAGS}/" \
+ -i Makefile
# and again, in the scintilla part
cd ${S}/scintilla/gtk
- cp makefile makefile.orig
- sed -e "/CXXFLAGS/s/-Os/${CFLAGS} -fPIC/" < makefile.orig > makefile
+ sed -e "/CXXFLAGS/s/-Os/${CFLAGS} -fPIC/" -i makefile
}
src_compile() {
-
- emake || die
-
+ emake || die
}
src_install() {