summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-im/tleenx2/ChangeLog7
-rw-r--r--net-im/tleenx2/files/tleenx2-20060309-configure.in.patch12
-rw-r--r--net-im/tleenx2/tleenx2-20060309.ebuild11
3 files changed, 28 insertions, 2 deletions
diff --git a/net-im/tleenx2/ChangeLog b/net-im/tleenx2/ChangeLog
index dd4f005c9b7b..20c567ef7b1e 100644
--- a/net-im/tleenx2/ChangeLog
+++ b/net-im/tleenx2/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-im/tleenx2
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/tleenx2/ChangeLog,v 1.14 2008/10/06 20:45:05 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/tleenx2/ChangeLog,v 1.15 2008/12/11 15:04:49 spock Exp $
+
+ 11 Dec 2008; Michał Januszewski <spock@gentoo.org>
+ +files/tleenx2-20060309-configure.in.patch, tleenx2-20060309.ebuild:
+ Fix bug #248009. Apparently eautoreconf fixes the problems with
+ --as-needed.
06 Oct 2008; Markus Meier <maekke@gentoo.org> tleenx2-20060309.ebuild:
amd64/x86 stable, bug #239855
diff --git a/net-im/tleenx2/files/tleenx2-20060309-configure.in.patch b/net-im/tleenx2/files/tleenx2-20060309-configure.in.patch
new file mode 100644
index 000000000000..f0f64e5776fc
--- /dev/null
+++ b/net-im/tleenx2/files/tleenx2-20060309-configure.in.patch
@@ -0,0 +1,12 @@
+diff -Naurp TleenX2-20060309-orig/configure.in TleenX2-20060309/configure.in
+--- TleenX2-20060309-orig/configure.in 2008-12-11 15:42:57.000000000 +0100
++++ TleenX2-20060309/configure.in 2008-12-11 15:51:45.000000000 +0100
+@@ -14,6 +14,8 @@ AC_CHECK_LIB(Xss, XScreenSaverQueryExten
+ -L/usr/X11R6/lib/ -lX11 -lXext -lm)
+ AC_CHECK_LIB(tlen, tlen_login, LIBS="$LIBS -ltlen", exit)
+
++AM_PROG_CC_C_O
++
+ AC_ARG_ENABLE(docklet, [ --enable-docklet turn on docking, default=yes],
+ if test x$enableval = xyes; then
+ docklet_off=no
diff --git a/net-im/tleenx2/tleenx2-20060309.ebuild b/net-im/tleenx2/tleenx2-20060309.ebuild
index d712c3fb3349..76a9f4d7becc 100644
--- a/net-im/tleenx2/tleenx2-20060309.ebuild
+++ b/net-im/tleenx2/tleenx2-20060309.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/tleenx2/tleenx2-20060309.ebuild,v 1.4 2008/10/06 20:45:05 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/tleenx2/tleenx2-20060309.ebuild,v 1.5 2008/12/11 15:04:49 spock Exp $
+
+inherit autotools eutils
IUSE=""
LICENSE="GPL-2"
@@ -21,6 +23,13 @@ RDEPEND="net-libs/libtlen
DEPEND="dev-util/pkgconfig
${RDEPEND}"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/tleenx2-20060309-configure.in.patch"
+ eautoreconf
+}
+
src_install() {
make DESTDIR="${D}" install
dodoc doc/* AUTHORS BUGS TODO