Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 290637 Details for
Bug 388231
Prefixified dev-scheme/tinyscheme-1.40 and fixed compilation on Mac OS X
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for ebuild
tinyscheme-1.40.ebuild.patch (text/plain), 1.88 KB, created by
Konstantin Tokarev
on 2011-10-23 14:11:27 UTC
(
hide
)
Description:
Patch for ebuild
Filename:
MIME Type:
Creator:
Konstantin Tokarev
Created:
2011-10-23 14:11:27 UTC
Size:
1.88 KB
patch
obsolete
>--- /Users/konstantintokarev/Gentoo/usr/portage/dev-scheme/tinyscheme/tinyscheme-1.40.ebuild 2011-02-28 19:45:17.000000000 +0300 >+++ tinyscheme-1.40.ebuild 2011-10-23 18:01:38.000000000 +0400 >@@ -10,8 +10,8 @@ > > LICENSE="BSD" > SLOT="0" >-KEYWORDS="~amd64 ~ppc ~x86" >-IUSE="" >+KEYWORDS="~amd64 ~ppc ~x86 ~ppc-macos" >+IUSE="aqua" > > DEPEND="" > RDEPEND="" >@@ -22,19 +22,32 @@ > # cp makefile makefile.old > > #separate lines, because shell comments are weak >- sed 's/CC = gcc -fpic/CC = gcc -fpic ${CFLAGS}/' -i makefile >+ if use aqua; then >+ sed 's/CC = gcc -fpic/CC = gcc -fpic ${CFLAGS} -DOSX/' -i makefile >+ sed 's/SOsuf=so/SOsuf=dylib/' -i makefile >+ else >+ sed 's/CC = gcc -fpic/CC = gcc -fpic ${CFLAGS}/' -i makefile >+ fi > sed 's/LDFLAGS/LOCAL_LDFLAGS/g' -i makefile > sed 's/LOCAL_LDFLAGS = -shared/LOCAL_LDFLAGS = -shared ${LDFLAGS}/' -i makefile > > sed 's/DEBUG=-g -Wno-char-subscripts -O/DEBUG=/' -i makefile >- sed "s/LD)/& -Wl,-soname,lib${PN}.so.${PV}/" -i makefile >+ if use aqua; then >+ sed "s|LD)|& -Wl,-install_name,${EPREFIX}/usr/lib/lib${PN}.dylib|" -i makefile >+ else >+ sed "s/LD)/& -Wl,-soname,lib${PN}.so.${PV}/" -i makefile >+ fi > > # diff -u makefile.old makefile > } > > src_install() { > newbin scheme ${PN} || die "newbin failed" >- dolib libtinyscheme.a libtinyscheme.so || die "dolib failed" >+ if use aqua; then >+ dolib libtinyscheme.a libtinyscheme.dylib || die "dolib failed" >+ else >+ dolib libtinyscheme.a libtinyscheme.so || die "dolib failed" >+ fi > dodoc Manual.txt || die "dodoc failed" > > # Bug 328967: dev-scheme/tinyscheme-1.39-r1 doesn't install header file >@@ -44,5 +57,5 @@ > local INIT_DIR=/usr/share/${PN}/ > insinto ${INIT_DIR} > doins init.scm || die "doins failed" >- dodir /etc/env.d/ && echo "TINYSCHEMEINIT=\"${INIT_DIR}init.scm\"" > "${D}"/etc/env.d/50tinyscheme >+ dodir /etc/env.d/ && echo "TINYSCHEMEINIT=\"${EPREFIX}${INIT_DIR}init.scm\"" > "${ED}"/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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 388231
: 290637