Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 245912 Details for
Bug 335903
[PATCH] sys-libs/libtermcap-compat-2.0.8-r2 does not respect LDFLAGS
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Fixed ebuild
libtermcap-compat-2.0.8-r3.ebuild (text/plain), 1.57 KB, created by
Alec Moskvin
on 2010-09-04 00:08:53 UTC
(
hide
)
Description:
Fixed ebuild
Filename:
MIME Type:
Creator:
Alec Moskvin
Created:
2010-09-04 00:08:53 UTC
Size:
1.57 KB
patch
obsolete
># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/sys-libs/libtermcap-compat/libtermcap-compat-2.0.8-r2.ebuild,v 1.14 2010/02/19 14:11:46 ulm Exp $ > ># we only want this for binary-only packages, so we will only be installing ># the lib used at runtime; no headers and no files to link against > >inherit eutils multilib > >PATCHVER=1 > >MY_P="termcap-${PV}" >DESCRIPTION="Compatibility package for old termcap-based programs" >HOMEPAGE="http://www.catb.org/~esr/terminfo/" >SRC_URI="http://www.catb.org/~esr/terminfo/termtypes.tc.gz > mirror://gentoo/${MY_P}.tar.bz2 > mirror://gentoo/${MY_P}-patches-${PATCHVER}.tar.bz2" > >LICENSE="GPL-2 LGPL-2 BSD" >SLOT="0" >KEYWORDS="alpha amd64 hppa ppc sparc x86" >IUSE="" > >DEPEND="" > >S=${WORKDIR}/${MY_P} > >src_unpack() { > unpack ${A} > > EPATCH_SOURCE="${WORKDIR}/patch" > EPATCH_SUFFIX="patch" > > cd "${WORKDIR}" > mv termtypes.tc termcap || die > epatch "${EPATCH_SOURCE}"/tc.file > > cd "${S}" > epatch "${EPATCH_SOURCE}" > > sed -i -e 's/$(CC) -shared/$(CC) $(LDFLAGS) -shared/g' Makefile || die >} > >src_compile() { > emake prefix="/" CFLAGS="${CFLAGS} -I." LDFLAGS="${LDFLAGS}" || die >} > >src_install() { > dodir /lib /include > emake prefix="${D}" OWNER="root:root" install || die > dodoc ChangeLog README > > insinto /etc > doins "${WORKDIR}"/termcap > > # now punt everything used for compiling > cd "${D}" > rm -r include || die > > if [[ $(get_libdir) != "lib" ]] ; then > mv lib $(get_libdir) || die > fi > dosym libtermcap.so.${PV} /$(get_libdir)/libtermcap.so.2 > cd $(get_libdir) > rm -f libtermcap.{a,so} >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 335903
:
245910
| 245912