Lines 1-4
Link Here
|
1 |
# Copyright 1999-2015 Gentoo Foundation |
1 |
# Copyright 1999-2016 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Id$ |
3 |
# $Id$ |
4 |
|
4 |
|
Lines 19-32
if [[ ${PV} == *9999* ]]; then
Link Here
|
19 |
else |
19 |
else |
20 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
20 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
21 |
SRC_URI="https://pkgconfig.freedesktop.org/releases/${MY_P}.tar.gz" |
21 |
SRC_URI="https://pkgconfig.freedesktop.org/releases/${MY_P}.tar.gz" |
|
|
22 |
INTERNAL_GLIB_CYGWIN_PATCHES=2.38.2 |
22 |
fi |
23 |
fi |
23 |
|
24 |
|
|
|
25 |
[[ -n ${INTERNAL_GLIB_CYGWIN_PATCHES} ]] && |
26 |
SRC_URI+=" internal-glib? ( elibc_Cygwin? ( |
27 |
https://github.com/haubi/pkgconfig-glib-cygwin-patches/archive/v${INTERNAL_GLIB_CYGWIN_PATCHES}.zip |
28 |
-> pkgconfig-glib-cygwin-patches-${INTERNAL_GLIB_CYGWIN_PATCHES}.zip |
29 |
) )" |
30 |
|
24 |
DESCRIPTION="Package config system that manages compile/link flags" |
31 |
DESCRIPTION="Package config system that manages compile/link flags" |
25 |
HOMEPAGE="https://pkgconfig.freedesktop.org/wiki/" |
32 |
HOMEPAGE="https://pkgconfig.freedesktop.org/wiki/" |
26 |
|
33 |
|
27 |
LICENSE="GPL-2" |
34 |
LICENSE="GPL-2" |
28 |
SLOT="0" |
35 |
SLOT="0" |
29 |
IUSE="elibc_FreeBSD elibc_glibc hardened internal-glib" |
36 |
IUSE="elibc_FreeBSD elibc_glibc elibc_Cygwin hardened internal-glib" |
30 |
|
37 |
|
31 |
RDEPEND="!internal-glib? ( >=dev-libs/glib-2.34.3[${MULTILIB_USEDEP}] ) |
38 |
RDEPEND="!internal-glib? ( >=dev-libs/glib-2.34.3[${MULTILIB_USEDEP}] ) |
32 |
!dev-util/pkgconf[pkg-config] |
39 |
!dev-util/pkgconf[pkg-config] |
Lines 41-46
DOCS=( AUTHORS NEWS README )
Link Here
|
41 |
src_prepare() { |
48 |
src_prepare() { |
42 |
sed -i -e "s|^prefix=/usr\$|prefix=${EPREFIX}/usr|" check/simple.pc || die #434320 |
49 |
sed -i -e "s|^prefix=/usr\$|prefix=${EPREFIX}/usr|" check/simple.pc || die #434320 |
43 |
|
50 |
|
|
|
51 |
[[ -n ${INTERNAL_GLIB_CYGWIN_PATCHES} ]] && |
52 |
use internal-glib && use elibc_Cygwin && |
53 |
EPATCH_FORCE=yes EPATCH_SUFFIX=patch \ |
54 |
epatch "${WORKDIR}"/pkgconfig-glib-cygwin-patches-${INTERNAL_GLIB_CYGWIN_PATCHES} |
55 |
|
44 |
epatch_user |
56 |
epatch_user |
45 |
|
57 |
|
46 |
if [[ ${PV} == *9999* ]]; then |
58 |
if [[ ${PV} == *9999* ]]; then |
47 |
- |
|
|