Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 177775 Details for
Bug 251926
dev-scheme/scm: pre-stripped files found
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
proposed fix for the pre-stripped
0001-Gentoo-Bug-251926.patch (text/plain), 5.51 KB, created by
Vadim Kuznetsov (RETIRED)
on 2009-01-08 17:32:08 UTC
(
hide
)
Description:
proposed fix for the pre-stripped
Filename:
MIME Type:
Creator:
Vadim Kuznetsov (RETIRED)
Created:
2009-01-08 17:32:08 UTC
Size:
5.51 KB
patch
obsolete
>From 8bc5fe8dcdbfa4ce93b729e78e3a5d3a746c1766 Mon Sep 17 00:00:00 2001 >From: Vadim Kuznetsov <vadim.kuznetsov@gmail.com> >Date: Thu, 8 Jan 2009 11:55:17 -0500 >Subject: [PATCH] Gentoo Bug 251926 > >--- > dev-scheme/scm/files/scm-5.5.4-gentoo.patch | 82 +++++++++++++++++++++++++++ > dev-scheme/scm/scm-5.5.4-r1.ebuild | 69 ++++++++++++++++++++++ > 2 files changed, 151 insertions(+), 0 deletions(-) > create mode 100644 dev-scheme/scm/files/scm-5.5.4-gentoo.patch > create mode 100644 dev-scheme/scm/scm-5.5.4-r1.ebuild > >diff --git a/dev-scheme/scm/files/scm-5.5.4-gentoo.patch b/dev-scheme/scm/files/scm-5.5.4-gentoo.patch >new file mode 100644 >index 0000000..2badb3e >--- /dev/null >+++ b/dev-scheme/scm/files/scm-5.5.4-gentoo.patch >@@ -0,0 +1,82 @@ >+--- Makefile.orig 2007-11-28 00:10:10.000000000 -0500 >++++ Makefile 2009-01-08 10:20:09.000000000 -0500 >+@@ -85,11 +85,11 @@ >+ echo "CPROTO=`type cproto | sed 's%.* %%'`" > srcdir.mk >+ echo "srcdir=`pwd`/" >> srcdir.mk >+ #srcdir=$(HOME)/scm/ >+-#srcdir=/usr/local/src/scm/ >++#srcdir=/usr/src/scm/ >+ include srcdir.mk >+ >+ # directory where COPYING and InitXXX.scm reside. >+-#IMPLPATH = /usr/local/src/scm/ >++#IMPLPATH = /usr/src/scm/ >+ #this one is good for bootstrapping >+ #IMPLPATH = `pwd`/ >+ IMPLPATH=$(srcdir) >+@@ -219,7 +219,6 @@ >+ udscm5: $(cfiles) $(ufiles) $(hfiles) build.scm build udscm5.opt >+ $(BUILD) -f udscm5.opt -o udscm5 -s $(IMPLPATH) >+ -rm $(ofiles) scmmain.o >+- strip udscm5 >+ dscm5: udscm5 $(ifiles) require.scm >+ if [ -f /proc/sys/kernel/randomize_va_space -a\ >+ "`cat /proc/sys/kernel/randomize_va_space`" != "0" ]; then {\ >+@@ -413,7 +412,7 @@ >+ PREVDOCS = prevdocs/ >+ html: $(htmldir)scm_toc.html $(htmldir)Xlibscm_toc.html $(htmldir)hobbit_toc.html >+ >+-TEXI2HTML = /usr/local/bin/texi2html -split -verbose >++TEXI2HTML = /usr/bin/texi2html -split -verbose >+ scm_toc.html: version.txi scm.texi indexes.texi platform.txi features.txi >+ ${TEXI2HTML} scm.texi >+ Xlibscm_toc.html: version.txi Xlibscm.texi >+@@ -445,14 +444,14 @@ >+ >+ rpm_prefix=$(HOME)/rpmbuild/ >+ >+-prefix = /usr/local/ >++prefix = /usr/ >+ exec_prefix = $(prefix) >+ # directory where `make install' will put executable. >+ bindir = $(exec_prefix)bin/ >+ libdir = $(exec_prefix)lib/ >+ libscmdir = $(libdir)scm/ >+ # directory where `make install' will put manual page. >+-mandir = $(prefix)man/ >++mandir = $(prefix)share/man/ >+ man1dir = $(mandir)man1/ >+ infodir = $(prefix)info/ >+ includedir = $(prefix)include/ >+@@ -506,14 +505,13 @@ >+ gzip -f $(DESTDIR)$(infodir)hobbit.info >+ >+ install: scm.1 >+- test -d $(DESTDIR)$(bindir) || mkdir $(DESTDIR)$(bindir) >+- test -d $(DESTDIR)$(mandir) || mkdir $(DESTDIR)$(mandir) >+- test -d $(DESTDIR)$(man1dir) || mkdir $(DESTDIR)$(man1dir) >++ mkdir -p $(DESTDIR)$(bindir) >++ mkdir -p $(DESTDIR)$(mandir) >++ mkdir -p $(DESTDIR)$(man1dir) >+ -cp scm scmlit $(DESTDIR)$(bindir) >+- -strip $(DESTDIR)$(bindir)scmlit >+ -cp scm.1 $(DESTDIR)$(man1dir) >+- test -d $(DESTDIR)$(libdir) || mkdir $(DESTDIR)$(libdir) >+- test -d $(DESTDIR)$(libscmdir) || mkdir $(DESTDIR)$(libscmdir) >++ mkdir -p $(DESTDIR)$(libdir) >++ mkdir -p $(DESTDIR)$(libscmdir) >+ -cp $(ifiles) $(hobfiles) COPYING r4rstest.scm $(DESTDIR)$(libscmdir) >+ test -f $(DESTDIR)$(libscmdir)require.scm || \ >+ cp requires.scm $(DESTDIR)$(libscmdir)require.scm >+@@ -523,9 +521,9 @@ >+ -cp libscm.dylib $(DESTDIR)$(libdir) >+ >+ installlib: >+- test -d $(DESTDIR)$(includedir) || mkdir $(DESTDIR)$(includedir) >++ mkdir -p $(DESTDIR)$(includedir) >+ cp scm.h scmfig.h scmflags.h $(DESTDIR)$(includedir) >+- test -d $(DESTDIR)$(libdir) || mkdir $(DESTDIR)$(libdir) >++ mkdir -p $(DESTDIR)$(libdir) >+ cp libscm.a $(DESTDIR)$(libdir)libscm.a >+ >+ uninstall: >diff --git a/dev-scheme/scm/scm-5.5.4-r1.ebuild b/dev-scheme/scm/scm-5.5.4-r1.ebuild >new file mode 100644 >index 0000000..e379891 >--- /dev/null >+++ b/dev-scheme/scm/scm-5.5.4-r1.ebuild >@@ -0,0 +1,69 @@ >+# Copyright 1999-2008 Gentoo Foundation >+# Distributed under the terms of the GNU General Public License v2 >+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/scm/scm-5.5.4.ebuild,v 1.3 2008/11/17 13:40:07 pchrist Exp $ >+ >+inherit versionator eutils >+ >+#version magic thanks to masterdriverz and UberLord using bash array instead of tr >+trarr="0abcdefghi" >+MY_PV="$(get_version_component_range 1)${trarr:$(get_version_component_range 2):1}$(get_version_component_range 3)" >+ >+MY_P=${PN}${MY_PV} >+S=${WORKDIR}/${PN} >+DESCRIPTION="Scheme implementation from author of slib" >+SRC_URI="http://swiss.csail.mit.edu/ftpdir/scm/${MY_P}.zip" >+ >+HOMEPAGE="http://swiss.csail.mit.edu/~jaffer/SCM" >+ >+SLOT="0" >+LICENSE="GPL-2-with-linking-exception" >+KEYWORDS="~amd64 ~x86" >+IUSE="" >+ >+#unzip for unpacking >+DEPEND="\ >+ app-arch/unzip >+ >=dev-scheme/slib-3.1.5 >+ sys-libs/ncurses >+ sys-libs/readline >+ sys-libs/libtermcap-compat" >+RDEPEND="${DEPEND}" >+ >+ >+src_unpack() { >+ unpack ${A} >+ cd "${S}" >+ epatch "${FILESDIR}"/${P}-gentoo.patch >+} >+ >+src_compile() { >+ # SLIB is required to build SCM. >+ slibpath="/usr/share/slib" >+ if [ -n "$SCHEME_LIBRARY_PATH" ]; then >+ einfo using SLIB $SCHEME_LIBRARY_PATH >+ elif [ -d ${slibpath} ]; then >+ export SCHEME_LIBRARY_PATH=${slibpath}/ >+ fi >+ >+ einfo "Making scmlit" >+ emake scmlit || die "faild to build scmlit" >+ einfo "Building scm" >+ emake scm5 || die "failed to build scm" >+ einfo "Building DLLs" >+ emake mydlls || die "failed to build DLLs" >+} >+ >+src_install() { >+ emake DESTDIR="${D}" install || die >+ einfo "Install done" >+} >+ >+pkg_postinst() { >+ [ "${ROOT}" == "/" ] && pkg_config >+ einfo "Postinstall done" >+} >+ >+pkg_config() { >+ einfo "Regenerating catalog..." >+ scm -e "(require 'new-catalog)" >+} >-- >1.6.1 >
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 251926
: 177775 |
178186
|
178188
|
223341
|
223343
|
223345
|
223347
|
223349