summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-01-25 21:07:05 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-01-25 21:07:05 +0000
commit6cd79c175678ff8a5ab731afacba0ab69edc60c8 (patch)
treecd5a4a1b08b3f0602b44a80dea29d6c5e0e2f910 /dev-libs/popt/popt-1.7-r1.ebuild
parentStable on sparc (diff)
downloadgentoo-2-6cd79c175678ff8a5ab731afacba0ab69edc60c8.tar.gz
gentoo-2-6cd79c175678ff8a5ab731afacba0ab69edc60c8.tar.bz2
gentoo-2-6cd79c175678ff8a5ab731afacba0ab69edc60c8.zip
Add patch to link to libintl when not using GLIBC; depend on virtual/libintl when using nls.
(Portage version: 2529-svn)
Diffstat (limited to 'dev-libs/popt/popt-1.7-r1.ebuild')
-rw-r--r--dev-libs/popt/popt-1.7-r1.ebuild13
1 files changed, 8 insertions, 5 deletions
diff --git a/dev-libs/popt/popt-1.7-r1.ebuild b/dev-libs/popt/popt-1.7-r1.ebuild
index f47ae7d81f2e..7e2d0958522d 100644
--- a/dev-libs/popt/popt-1.7-r1.ebuild
+++ b/dev-libs/popt/popt-1.7-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/popt/popt-1.7-r1.ebuild,v 1.21 2005/05/10 22:50:15 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/popt/popt-1.7-r1.ebuild,v 1.22 2006/01/25 21:07:05 flameeyes Exp $
-inherit libtool eutils flag-o-matic
+inherit libtool eutils flag-o-matic autotools
DESCRIPTION="Parse Options - Command line parser"
HOMEPAGE="http://www.rpm.org/"
@@ -13,15 +13,18 @@ SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 ppc-macos s390 sh sparc x86"
IUSE="nls"
-RDEPEND=""
+RDEPEND="nls? ( virtual/libintl )"
DEPEND="nls? ( sys-devel/gettext )"
src_unpack() {
unpack ${A}
cd "${S}"
- elibtoolize
epatch "${FILESDIR}"/${P}-missing-tests.patch
+ epatch "${FILESDIR}"/${P}-nls.patch
use nls || touch ../rpm.c
+
+ eautomake
+ elibtoolize
}
src_compile() {