summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-01-13 19:29:06 +0000
committerMike Frysinger <vapier@gentoo.org>2007-01-13 19:29:06 +0000
commite9f56f0edbc86f5e9505719a397a1e39e2a753a9 (patch)
tree335cda70ef7f2466862413d35e3df4c7f8c181de /sys-libs
parentVersion bump. (diff)
downloadgentoo-2-e9f56f0edbc86f5e9505719a397a1e39e2a753a9.tar.gz
gentoo-2-e9f56f0edbc86f5e9505719a397a1e39e2a753a9.tar.bz2
gentoo-2-e9f56f0edbc86f5e9505719a397a1e39e2a753a9.zip
use -D_GNU_SOURCE to get more prototypes
(Portage version: 2.1.2_rc4-r8)
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/readline/readline-5.2_p1.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys-libs/readline/readline-5.2_p1.ebuild b/sys-libs/readline/readline-5.2_p1.ebuild
index 5da52f163e5c..4cf7db659665 100644
--- a/sys-libs/readline/readline-5.2_p1.ebuild
+++ b/sys-libs/readline/readline-5.2_p1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/readline-5.2_p1.ebuild,v 1.1 2006/12/16 03:07:46 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/readline-5.2_p1.ebuild,v 1.2 2007/01/13 19:29:06 vapier Exp $
-inherit eutils multilib toolchain-funcs
+inherit eutils multilib toolchain-funcs flag-o-matic
# Official patches
# See ftp://ftp.cwru.edu/pub/bash/readline-5.1-patches/
@@ -54,6 +54,8 @@ src_unpack() {
}
src_compile() {
+ append-flags -D_GNU_SOURCE
+
# the --libdir= is needed because if lib64 is a directory, it will default
# to using that... even if CONF_LIBDIR isnt set or we're using a version
# of portage without CONF_LIBDIR support.