Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 255571 Details for
Bug 334649
dev-scheme/tinyscheme does not respect LDFLAGS
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Ebuild respecting LDFLAGS
tinyscheme-1.39-r2.ebuild (text/plain), 1.35 KB, created by
Nick White
on 2010-11-27 12:01:24 UTC
(
hide
)
Description:
Ebuild respecting LDFLAGS
Filename:
MIME Type:
Creator:
Nick White
Created:
2010-11-27 12:01:24 UTC
Size:
1.35 KB
patch
obsolete
># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/dev-scheme/tinyscheme/tinyscheme-1.39-r1.ebuild,v 1.1 2010/07/01 16:14:51 chiiph Exp $ > >EAPI="3" > >inherit flag-o-matic > >MY_P=${PN}${PV} > >DESCRIPTION="Lightweight scheme interpreter" >HOMEPAGE="http://tinyscheme.sourceforge.net" >SRC_URI="mirror://sourceforge/tinyscheme/${MY_P}.zip" > >LICENSE="BSD" >SLOT="0" >KEYWORDS="~amd64 ~ppc ~x86" >IUSE="" > >DEPEND="app-arch/unzip" >RDEPEND="" > >S=${WORKDIR}/${MY_P} > >src_prepare() { > sed -e 's/PLATFORM_FEATURES = -DUSE_STRLWR=0/#PLATFORM_FEATURES = -DUSE_STRLWR=0/; > s/CC = gcc -fpic/CC = gcc -fpic ${CFLAGS}/; > s/LDFLAGS/LOCAL_LDFLAGS/g; > s/LOCAL_LDFLAGS = -shared/LOCAL_LDFLAGS = -shared ${LDFLAGS}/; > s/\$(CC) -o \$@ \$(DEBUG) \$(OBJS) \$(SYS_LIBS)/\$(CC) -o \$@ \$(DEBUG) \$(OBJS) \$(SYS_LIBS) ${LDFLAGS}/; > s/DEBUG=-g -Wno-char-subscripts -O/DEBUG=/' \ > -i makefile || die "sed failed" > append-ldflags "-Wl,-soname,lib${PN}.so.${PV}" >} > >src_install() { > local INIT_DIR=/usr/share/${PN}/ > newbin scheme ${PN} || die "newbin failed" > dolib libtinyscheme.a libtinyscheme.so || die "dolib failed" > dodoc Manual.txt || die "dodoc failed" > insinto ${INIT_DIR} > doins init.scm || die "doins failed" > dodir /etc/env.d/ && echo "TINYSCHEMEINIT=\"${INIT_DIR}init.scm\"" > "${D}"/etc/env.d/50tinyscheme >}
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 334649
:
244751
| 255571 |
263705