/[gentoo-x86]/sys-libs/ncurses/ncurses-5.9-r2.ebuild
Gentoo

Diff of /sys-libs/ncurses/ncurses-5.9-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.15 Revision 1.16
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 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# $Header: /var/cvsroot/gentoo-x86/sys-libs/ncurses/Attic/ncurses-5.9-r2.ebuild,v 1.15 2012/07/29 16:50:07 armin76 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-libs/ncurses/Attic/ncurses-5.9-r2.ebuild,v 1.16 2012/10/23 20:07:18 vapier Exp $
4 4
5EAPI="1" 5EAPI="1"
6inherit eutils flag-o-matic toolchain-funcs 6inherit eutils flag-o-matic toolchain-funcs
7 7
8MY_PV=${PV:0:3} 8MY_PV=${PV:0:3}
30 [[ -n ${PV_SNAP} ]] && epatch "${WORKDIR}"/${MY_P}-${PV_SNAP}-patch.sh 30 [[ -n ${PV_SNAP} ]] && epatch "${WORKDIR}"/${MY_P}-${PV_SNAP}-patch.sh
31 epatch "${FILESDIR}"/${PN}-5.8-gfbsd.patch 31 epatch "${FILESDIR}"/${PN}-5.8-gfbsd.patch
32 epatch "${FILESDIR}"/${PN}-5.7-nongnu.patch 32 epatch "${FILESDIR}"/${PN}-5.7-nongnu.patch
33 epatch "${FILESDIR}"/${PN}-5.9-rxvt-unicode-9.15.patch #192083 #383871 33 epatch "${FILESDIR}"/${PN}-5.9-rxvt-unicode-9.15.patch #192083 #383871
34 epatch "${FILESDIR}"/${PN}-5.9-fix-clang-build.patch #417763 34 epatch "${FILESDIR}"/${PN}-5.9-fix-clang-build.patch #417763
35 sed -i \
36 -e '/^PKG_CONFIG_LIBDIR/s:=.*:=$(libdir)/pkgconfig:' \
37 misc/Makefile.in || die
38} 35}
39 36
40src_compile() { 37src_compile() {
41 unset TERMINFO #115036 38 unset TERMINFO #115036
42 tc-export_build_env BUILD_{CC,CPP} 39 tc-export_build_env BUILD_{CC,CPP}
63 ECONF_SOURCE=${S} 60 ECONF_SOURCE=${S}
64 61
65 mkdir "${WORKDIR}"/$1 62 mkdir "${WORKDIR}"/$1
66 cd "${WORKDIR}"/$1 63 cd "${WORKDIR}"/$1
67 shift 64 shift
65
66 # ncurses is dumb and doesn't install .pc files unless pkg-config
67 # is also installed. Force the tests to go our way. Note that it
68 # doesn't actually use pkg-config ... it just looks for set vars.
69 tc-export PKG_CONFIG
70 export PKG_CONFIG_LIBDIR="/usr/$(get_libdir)/pkgconfig"
68 71
69 # The chtype/mmask-t settings below are to retain ABI compat 72 # The chtype/mmask-t settings below are to retain ABI compat
70 # with ncurses-5.4 so dont change em ! 73 # with ncurses-5.4 so dont change em !
71 local conf_abi=" 74 local conf_abi="
72 --with-chtype=long \ 75 --with-chtype=long \

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.20