Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 188335 - dev-scheme/scm (updated ebuild)
Summary: dev-scheme/scm (updated ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Scheme Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-10 12:46 UTC by Magnus Deininger
Modified: 2008-01-18 13:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
scm-5.5.3-r1.ebuild (scm-5.5.3-r1.ebuild,1.65 KB, text/plain)
2007-08-10 12:47 UTC, Magnus Deininger
Details
scm-nowb.patch (scm-nowb.patch,547 bytes, patch)
2007-08-10 12:48 UTC, Magnus Deininger
Details | Diff
scm-fixinstall.patch (scm-fixinstall.patch,2.96 KB, patch)
2007-08-10 12:49 UTC, Magnus Deininger
Details | Diff
scm-installprefix.patch (scm-installprefix.patch,311 bytes, patch)
2007-08-10 12:50 UTC, Magnus Deininger
Details | Diff
scm-5.5.3-r1.diff (scm-5.5.3-r1.diff,1.32 KB, text/plain)
2007-08-10 13:24 UTC, Magnus Deininger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Magnus Deininger 2007-08-10 12:46:21 UTC
here's an updated ebuild with a number of patches to make scm's 'make install' work as it should.

it also uses a 'wb' flag to make scm use this: http://www-swiss.ai.mit.edu/~jaffer/WB
Comment 1 Magnus Deininger 2007-08-10 12:47:27 UTC
Created attachment 127475 [details]
scm-5.5.3-r1.ebuild

updated ebuild
Comment 2 Magnus Deininger 2007-08-10 12:48:34 UTC
Created attachment 127476 [details, diff]
scm-nowb.patch

goes in files/

used to make the makefile behave when there are no source for wb to use
Comment 3 Magnus Deininger 2007-08-10 12:49:06 UTC
Created attachment 127478 [details, diff]
scm-fixinstall.patch

into files/

fixes the makefile's install: target
Comment 4 Magnus Deininger 2007-08-10 12:50:02 UTC
Created attachment 127480 [details, diff]
scm-installprefix.patch

into files/

fixes the makefile's $prefix to /usr/.
(i made it a separate file because maybe there's some other paths that need to be adjusted)
Comment 5 Magnus Deininger 2007-08-10 13:24:36 UTC
Created attachment 127486 [details]
scm-5.5.3-r1.diff

diff for the ebuild
Comment 6 Marijn Schouten (RETIRED) gentoo-dev 2007-08-10 17:41:10 UTC
thanks Magnus, good work. You have been granted access to the lisp overlay.
Comment 7 Marijn Schouten (RETIRED) gentoo-dev 2007-09-07 14:38:19 UTC
Hey Magnus, good work, thank you. A few pointers:

1) wb? ( http  <--- the spaces are required here

2) I renamed the patches, but it should be obvious. Notice that $A is smart!
src_unpack() {
	unpack ${A}; cd "${S}"
#	cp Makefile Makefile.old
	use wb || epatch ${FILESDIR}/nowb.patch
	epatch ${FILESDIR}/destdir.patch
	sed "s#/usr/local/#/usr/#" -i Makefile
#	diff -u Makefile.old Makefile
}

3) The stuff you added to src_compile for wb doesn't seem to work. Did you test it with the wb use flag set?
Comment 8 Marijn Schouten (RETIRED) gentoo-dev 2008-01-18 13:28:12 UTC
scm-5.5.4 now uses shipped make install. Thanks Magnus, for getting your patches upstream.

wb support has not been looked at again. if someone wants to fix up wb support please reopen.