summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2008-01-14 14:17:02 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2008-01-14 14:17:02 +0000
commitcc4bbc3384d7dd436b410a073c19cca78ab44fba (patch)
tree2fe9ee983a01699483c32c7694226a7dab945774
parentSparc stable, security Bug #203777. (diff)
downloadhistorical-cc4bbc3384d7dd436b410a073c19cca78ab44fba.tar.gz
historical-cc4bbc3384d7dd436b410a073c19cca78ab44fba.tar.bz2
historical-cc4bbc3384d7dd436b410a073c19cca78ab44fba.zip
Add debug USE flag
Package-Manager: portage-2.1.4
-rw-r--r--dev-libs/pth/ChangeLog7
-rw-r--r--dev-libs/pth/pth-2.0.7.ebuild11
2 files changed, 13 insertions, 5 deletions
diff --git a/dev-libs/pth/ChangeLog b/dev-libs/pth/ChangeLog
index a212cf700f63..d70908915cc3 100644
--- a/dev-libs/pth/ChangeLog
+++ b/dev-libs/pth/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/pth
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/pth/ChangeLog,v 1.57 2007/09/28 18:22:49 alonbl Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/pth/ChangeLog,v 1.58 2008/01/14 14:17:02 alonbl Exp $
+
+ 14 Jan 2008; Alon Bar-Lev <alonbl@gentoo.org> pth-2.0.7.ebuild:
+ Add debug USE flag
28 Sep 2007; Alon Bar-Lev <alonbl@gentoo.org>
-files/pth-1.4.0-sigstack.patch, -files/pth-2.0.3-m4.patch,
diff --git a/dev-libs/pth/pth-2.0.7.ebuild b/dev-libs/pth/pth-2.0.7.ebuild
index fe06c2fc847a..09936a873683 100644
--- a/dev-libs/pth/pth-2.0.7.ebuild
+++ b/dev-libs/pth/pth-2.0.7.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/pth/pth-2.0.7.ebuild,v 1.11 2007/12/11 10:02:41 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/pth/pth-2.0.7.ebuild,v 1.12 2008/01/14 14:17:02 alonbl Exp $
inherit eutils fixheadtails libtool
@@ -11,7 +11,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
-IUSE=""
+IUSE="debug"
DEPEND=""
@@ -27,6 +27,11 @@ src_unpack() {
elibtoolize
}
+src_compile() {
+ econf $(use_enable debug) || die
+ emake || die
+}
+
src_install() {
make DESTDIR="${D}" install || die
dodoc ANNOUNCE AUTHORS ChangeLog NEWS README THANKS USERS