summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2011-04-06 15:42:45 +0000
committerMichał Górny <mgorny@gentoo.org>2011-04-06 15:42:45 +0000
commit9d9616716d5d5ea2971281c4a915c055cffbf629 (patch)
tree4a64b55c83f124f4391dabd21570b796fbba4255 /net-im
parentmask beta version of net-p2p/transmission-2.30. (diff)
downloadgentoo-2-9d9616716d5d5ea2971281c4a915c055cffbf629.tar.gz
gentoo-2-9d9616716d5d5ea2971281c4a915c055cffbf629.tar.bz2
gentoo-2-9d9616716d5d5ea2971281c4a915c055cffbf629.zip
Install Perl modules in vendor-dir instead of site-dir. Drop old version. Fixes bug #362231.
(Portage version: 2.2.0_alpha29_p5/cvs/Linux x86_64)
Diffstat (limited to 'net-im')
-rw-r--r--net-im/ekg2/ChangeLog10
-rw-r--r--net-im/ekg2/ekg2-0.3.1-r1.ebuild (renamed from net-im/ekg2/ekg2-0.3.0.ebuild)5
-rw-r--r--net-im/ekg2/ekg2-0.3.1.ebuild109
-rw-r--r--net-im/ekg2/files/0001-Gentoo-use-vendor-dirs-for-perl-modules.patch25
4 files changed, 38 insertions, 111 deletions
diff --git a/net-im/ekg2/ChangeLog b/net-im/ekg2/ChangeLog
index 3a3d4070c52e..d183f63d5909 100644
--- a/net-im/ekg2/ChangeLog
+++ b/net-im/ekg2/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-im/ekg2
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/ekg2/ChangeLog,v 1.45 2011/04/01 20:10:19 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/ekg2/ChangeLog,v 1.46 2011/04/06 15:42:45 mgorny Exp $
+
+*ekg2-0.3.1-r1 (06 Apr 2011)
+
+ 06 Apr 2011; Michał Górny <mgorny@gentoo.org>
+ +files/0001-Gentoo-use-vendor-dirs-for-perl-modules.patch,
+ -ekg2-0.3.0.ebuild, -ekg2-0.3.1.ebuild, +ekg2-0.3.1-r1.ebuild:
+ Install Perl modules in vendor-dir instead of site-dir. Drop old version.
+ Fixes bug #362231.
*ekg2-0.3.1 (01 Apr 2011)
diff --git a/net-im/ekg2/ekg2-0.3.0.ebuild b/net-im/ekg2/ekg2-0.3.1-r1.ebuild
index 6865af8ace10..e6854ab2ad3d 100644
--- a/net-im/ekg2/ekg2-0.3.0.ebuild
+++ b/net-im/ekg2/ekg2-0.3.1-r1.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/net-im/ekg2/ekg2-0.3.0.ebuild,v 1.2 2011/02/26 19:45:07 signals Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/ekg2/ekg2-0.3.1-r1.ebuild,v 1.1 2011/04/06 15:42:45 mgorny Exp $
EAPI=3
inherit autotools-utils versionator
@@ -45,6 +45,9 @@ RDEPEND="
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
+PATCHES=(
+ "${FILESDIR}"/0001-Gentoo-use-vendor-dirs-for-perl-modules.patch
+)
DOCS=(
AUTHORS docs/README docs/TODO
docs/events.txt docs/mouse.txt docs/sim.txt docs/voip.txt
diff --git a/net-im/ekg2/ekg2-0.3.1.ebuild b/net-im/ekg2/ekg2-0.3.1.ebuild
deleted file mode 100644
index 66dc661c0b21..000000000000
--- a/net-im/ekg2/ekg2-0.3.1.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/ekg2/ekg2-0.3.1.ebuild,v 1.1 2011/04/01 20:10:19 mgorny Exp $
-
-EAPI=3
-inherit autotools-utils versionator
-
-DESCRIPTION="Text-based, multi-protocol instant messenger"
-HOMEPAGE="http://www.ekg2.org"
-SRC_URI="http://pl.ekg2.org/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="gadu gif gnutls gpg gpm gsm gtk idn inotify jabber jpeg ncurses nls
- oracle perl python readline rss spell sqlite sqlite3 ssl threads unicode
- xosd zlib"
-
-RDEPEND="
- gpg? ( app-crypt/gpgme )
- gsm? ( media-sound/gsm )
- gtk? ( x11-libs/gtk+:2 )
- idn? ( net-dns/libidn )
- nls? ( virtual/libintl )
- oracle? ( dev-db/oracle-instantclient-basic )
- perl? ( dev-lang/perl )
- python? ( dev-lang/python )
- readline? ( sys-libs/readline )
- ssl? ( dev-libs/openssl )
- xosd? ( x11-libs/xosd )
- zlib? ( sys-libs/zlib )
-
- gadu? ( net-libs/libgadu
- gif? ( media-libs/giflib )
- jpeg? ( virtual/jpeg ) )
- jabber? ( dev-libs/expat
- gnutls? ( net-libs/gnutls ) )
- ncurses? ( sys-libs/ncurses[unicode?]
- gpm? ( sys-libs/gpm )
- spell? ( app-text/aspell ) )
- rss? ( dev-libs/expat )
- sqlite3? ( dev-db/sqlite:3 )
- !sqlite3? ( sqlite? ( dev-db/sqlite:0 ) )"
-
-DEPEND="${RDEPEND}
- nls? ( sys-devel/gettext )"
-
-DOCS=(
- AUTHORS docs/README docs/TODO
- docs/events.txt docs/mouse.txt docs/sim.txt docs/voip.txt
- docs/themes.txt docs/themes-en.txt
- docs/ui-ncurses.txt docs/ui-ncurses-en.txt
-)
-
-# Due to MakeMaker being used to build Perl modules.
-AUTOTOOLS_IN_SOURCE_BUILD=1
-
-pkg_setup() {
- if ! use gtk && ! use ncurses && ! use readline; then
- ewarn 'ekg2 is being compiled without any frontend, you should consider'
- ewarn 'enabling at least one of following USEflags:'
- ewarn ' gtk, ncurses, readline.'
- fi
-
- if use gnutls && ! use ssl; then
- ewarn 'You have enabled USE=gnutls without USE=ssl. The SSL support'
- ewarn 'in ekg2 will be limited to the plugins supporting GnuTLS.'
- fi
-}
-
-src_configure() {
- myeconfargs=(
- $(use_with gadu libgadu)
- $(use_with gif)
- # gnutls is jabber-specific
- $(use jabber && use_with gnutls libgnutls || echo '--without-libgnutls')
- $(use_with gpg)
- $(use_with gpm gpm-mouse)
- $(use_with gsm libgsm)
- $(use_with gtk)
- $(use_with idn libidn)
- $(use_with inotify)
- $(use jabber && echo '--with-expat' || use_with rss expat)
- $(use_with jpeg libjpeg)
- $(use_with ncurses)
- $(use_with oracle logsoracle)
- $(use_with perl)
- $(use_with python)
- $(use_with readline)
- $(use_with spell aspell)
- $(use_with sqlite)
- $(use_with sqlite3)
- $(use_with ssl openssl)
- $(use_with threads pthread)
- $(use_with xosd libxosd)
- $(use_with zlib)
- $(use_enable nls)
- $(use_enable unicode)
- --without-ioctld
- --disable-remote
- --enable-skip-relative-plugins-dir
- )
- autotools-utils_src_configure
-}
-
-src_install() {
- autotools-utils_src_install
- remove_libtool_files all
-}
diff --git a/net-im/ekg2/files/0001-Gentoo-use-vendor-dirs-for-perl-modules.patch b/net-im/ekg2/files/0001-Gentoo-use-vendor-dirs-for-perl-modules.patch
new file mode 100644
index 000000000000..010b22fc976c
--- /dev/null
+++ b/net-im/ekg2/files/0001-Gentoo-use-vendor-dirs-for-perl-modules.patch
@@ -0,0 +1,25 @@
+From 804370c1ad2f94937ac9184dbbb40354885ea6be Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
+Date: Wed, 6 Apr 2011 16:19:46 +0200
+Subject: [PATCH] [Gentoo] use vendor dirs for perl modules.
+
+---
+ plugins/perl/Makefile.in | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/plugins/perl/Makefile.in b/plugins/perl/Makefile.in
+index 84d378b..309e2e2 100644
+--- a/plugins/perl/Makefile.in
++++ b/plugins/perl/Makefile.in
+@@ -594,7 +594,7 @@ all-local:
+ set -e; for dir in $(perl_dirs); do \
+ cd $$dir && \
+ if [ ! -f Makefile ]; then \
+- $(PERL) Makefile.PL; \
++ $(PERL) Makefile.PL INSTALLDIRS=vendor; \
+ fi && \
+ $(MAKE) CC="$(CC)" CCFLAGS="$(PERL_CFLAGS) $(AM_CFLAGS) $(CFLAGS)" && \
+ cd ..; \
+--
+1.7.4.1
+