summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2014-01-19 10:30:16 +0000
committerMike Frysinger <vapier@gentoo.org>2014-01-19 10:30:16 +0000
commit82969872a5d5721fba2ba69772ecc1a327793c7e (patch)
treeef438df2929255303c0ac3849029342b15d31c61 /dev-vcs/cvs/cvs-1.12.13-r2.ebuild
parentStable for ppc64, wrt bug #496632 (diff)
downloadgentoo-2-82969872a5d5721fba2ba69772ecc1a327793c7e.tar.gz
gentoo-2-82969872a5d5721fba2ba69772ecc1a327793c7e.tar.bz2
gentoo-2-82969872a5d5721fba2ba69772ecc1a327793c7e.zip
Fix cross-compiling due to AC_TRY_RUN.
(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Diffstat (limited to 'dev-vcs/cvs/cvs-1.12.13-r2.ebuild')
-rw-r--r--dev-vcs/cvs/cvs-1.12.13-r2.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/dev-vcs/cvs/cvs-1.12.13-r2.ebuild b/dev-vcs/cvs/cvs-1.12.13-r2.ebuild
index 42ffbb45448d..54820a012219 100644
--- a/dev-vcs/cvs/cvs-1.12.13-r2.ebuild
+++ b/dev-vcs/cvs/cvs-1.12.13-r2.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/cvs/cvs-1.12.13-r2.ebuild,v 1.2 2014/01/19 10:21:13 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/cvs/cvs-1.12.13-r2.ebuild,v 1.3 2014/01/19 10:30:16 vapier Exp $
EAPI=3
-inherit eutils pam
+inherit eutils pam toolchain-funcs
DESCRIPTION="Concurrent Versions System - source code revision control tools"
HOMEPAGE="http://www.nongnu.org/cvs/"
@@ -51,6 +51,11 @@ src_configure() {
ewarn "The server and proxy code are enabled as they are required for tests."
myconf="--enable-server --enable-proxy"
fi
+ if tc-is-cross-compiler ; then
+ # Sane defaults when cross-compiling (as these tests want to
+ # try and execute code).
+ export cvs_cv_func_printf_ptr="yes"
+ fi
econf \
--with-external-zlib \
--with-tmpdir=/tmp \