summaryrefslogtreecommitdiff
blob: 288d12c0a9cd07adc33716f236c4ea32c8dd3c80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit toolchain-funcs xorg-3

DESCRIPTION="C preprocessor interface to the make utility"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"

RDEPEND="x11-misc/xorg-cf-files"
BDEPEND="x11-base/xorg-proto"

PATCHES=(
	"${FILESDIR}"/${P}-cpp-args.patch
	"${FILESDIR}"/${P}-no-get-gcc.patch
	"${FILESDIR}"/${P}-respect-LD.patch
	"${FILESDIR}"/${P}-xmkmf-pass-cc-ld.patch
)

src_configure() {
	econf CPP="$(tc-getPROG CPP cpp)" #722046
}