summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2015-10-17 15:40:08 +0800
committerIan Delaney <idella4@gentoo.org>2015-10-17 15:40:48 +0800
commita6495dbc02107746a4759d7ce81c706261f6e3a6 (patch)
tree702498cad7bc8964c75202357bad9ca727d8a00c /dev-scheme/chicken
parentx11-misc/gtkdialog: Make gnome-base/libglade and x11-libs/vte dependencies op... (diff)
downloadgentoo-a6495dbc02107746a4759d7ce81c706261f6e3a6.tar.gz
gentoo-a6495dbc02107746a4759d7ce81c706261f6e3a6.tar.bz2
gentoo-a6495dbc02107746a4759d7ce81c706261f6e3a6.zip
dev-scheme/chicken: clean affected version -4.10.0, patch
Gentoo Security bug: #467966 Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-scheme/chicken')
-rw-r--r--dev-scheme/chicken/chicken-4.10.0.ebuild76
-rw-r--r--dev-scheme/chicken/files/4.10.0-parallel-build.patch60
2 files changed, 0 insertions, 136 deletions
diff --git a/dev-scheme/chicken/chicken-4.10.0.ebuild b/dev-scheme/chicken/chicken-4.10.0.ebuild
deleted file mode 100644
index 8b1e80759e62..000000000000
--- a/dev-scheme/chicken/chicken-4.10.0.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-inherit eutils multilib versionator
-
-MY_PV=$(get_version_component_range 1-3)
-DESCRIPTION="Chicken is a Scheme interpreter and native Scheme to C compiler"
-HOMEPAGE="http://www.call-cc.org/"
-SRC_URI="http://code.call-cc.org/releases/${MY_PV}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86"
-IUSE="emacs parallel-build doc"
-
-DEPEND="sys-apps/texinfo
- emacs? ( virtual/emacs )"
-RDEPEND="emacs? ( virtual/emacs app-emacs/scheme-complete )"
-
-src_prepare() {
- if use "parallel-build"
- then
- epatch "${FILESDIR}"/${PV}-parallel-build.patch
- fi
-
- #Because chicken's Upstream is in the habit of using variables that
- #portage also uses :( eg. $ARCH and $A
- sed 's,A\(\s?=\|)\),chicken&,' -i Makefile.cross-linux-mingw \
- defaults.make rules.make \
- || die "sed failed"
-
- sed "s,ARCH,zARCH," -i Makefile.bsd Makefile.cross-linux-mingw \
- Makefile.cygwin Makefile.haiku Makefile.linux Makefile.macosx \
- Makefile.mingw Makefile.mingw-msys Makefile.solaris \
- defaults.make rules.make \
- || die "sed failed"
-
- sed "s,\$(PREFIX)/lib,\$(PREFIX)/$(get_libdir)," -i defaults.make || die "sed failed"
- sed "s,\$(DATADIR)/doc,\$(SHAREDIR)/doc/${P}," -i defaults.make || die "sed failed"
-}
-
-src_compile() {
- if use "parallel-build"
- then
- OPTIONS="PLATFORM=linux PREFIX=/usr"
- else
- OPTIONS="-j1 PLATFORM=linux PREFIX=/usr"
- fi
-
- emake ${OPTIONS} C_COMPILER_OPTIMIZATION_OPTIONS="${CFLAGS}" \
- LINKER_OPTIONS="${LDFLAGS}" \
- HOSTSYSTEM="${CBUILD}"
-}
-
-# chicken's testsuite is not runnable before install
-# upstream has been notified of the issue
-RESTRICT=test
-
-src_install() {
- # still can't run make in parallel for the install target
- emake -j1 ${OPTIONS} DESTDIR="${D}" HOSTSYSTEM="${CBUILD}" \
- LINKER_OPTIONS="${LDFLAGS}" \
- install
-
- rm "${D}"/usr/share/doc/${P}/LICENSE || die
- dodoc NEWS
-
- # remove HTML documentation if the user doesn't USE=doc
- if ! use "doc"
- then
- rm -rf "${D}"/usr/share/doc/${P}/manual || die
- fi
-}
diff --git a/dev-scheme/chicken/files/4.10.0-parallel-build.patch b/dev-scheme/chicken/files/4.10.0-parallel-build.patch
deleted file mode 100644
index 89e2570985fc..000000000000
--- a/dev-scheme/chicken/files/4.10.0-parallel-build.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-diff --git a/README b/README
-index 8d0d067..551b716 100644
---- a/README
-+++ b/README
-@@ -72,7 +72,7 @@
- platforms.
-
- Note that parallel builds (using the "-j" make(1) option) are
-- *not* supported.
-+ also supported. Beware that parallel install will not work though.
-
- If you invoke "make" later with different configuration parameters,
- it is advisable to run:
-diff --git a/rules.make b/rules.make
-index 929b0a3..a8cb9b0 100644
---- a/rules.make
-+++ b/rules.make
-@@ -243,8 +243,8 @@ lib$(PROGRAM_PREFIX)chicken$(PROGRAM_SUFFIX)$(A): $(APPLY_HACK_OBJECT) $(LIBCHIC
-
- # import libraries and extensions
-
--%.so: %.o
-- $(LINKER) $(LINKER_OPTIONS) $(LINKER_LINK_SHARED_DLOADABLE_OPTIONS) $^ $(LINKER_OUTPUT_OPTION) $@ \
-+%.so: %.o $(PRIMARY_LIBCHICKEN)
-+ $(LINKER) $(LINKER_OPTIONS) $(LINKER_LINK_SHARED_DLOADABLE_OPTIONS) $< $(LINKER_OUTPUT_OPTION) $@ \
- $(LINKER_LIBRARY_PREFIX)$(PROGRAM_PREFIX)chicken$(PROGRAM_SUFFIX)$(LINKER_LIBRARY_SUFFIX) \
- $(LIBRARIES)
-
-@@ -580,9 +580,9 @@ chicken-profile.c: $(SRCDIR)chicken-profile.scm
- $(CHICKEN) $< $(CHICKEN_PROGRAM_OPTIONS) -output-file $@
- chicken-install.c: $(SRCDIR)chicken-install.scm setup-download.c setup-api.c
- $(CHICKEN) $< $(CHICKEN_PROGRAM_OPTIONS) -output-file $@
--chicken-uninstall.c: $(SRCDIR)chicken-uninstall.scm
-+chicken-uninstall.c: $(SRCDIR)chicken-uninstall.scm setup-api.c
- $(CHICKEN) $< $(CHICKEN_PROGRAM_OPTIONS) -output-file $@
--chicken-status.c: $(SRCDIR)chicken-status.scm
-+chicken-status.c: $(SRCDIR)chicken-status.scm setup-api.c
- $(CHICKEN) $< $(CHICKEN_PROGRAM_OPTIONS) -output-file $@
- csc.c: $(SRCDIR)csc.scm
- $(CHICKEN) $< $(CHICKEN_PROGRAM_OPTIONS) -output-file $@
-@@ -673,14 +673,17 @@ bench: $(CHICKEN_SHARED_EXECUTABLE) $(CSI_SHARED_EXECUTABLE) $(CSC_PROGRAM)$(EXE
- .PHONY: boot-chicken
-
- boot-chicken:
-+ "$(MAKE)" PLATFORM=$(PLATFORM) CONFIG= confclean
- "$(MAKE)" PLATFORM=$(PLATFORM) PREFIX=/nowhere CONFIG= \
- CHICKEN=$(CHICKEN) PROGRAM_SUFFIX=-boot-stage1 STATICBUILD=1 \
- C_COMPILER_OPTIMIZATION_OPTIONS="$(C_COMPILER_OPTIMIZATION_OPTIONS)" C_HACKED_APPLY= BUILDING_CHICKEN_BOOT=1 \
-- confclean chicken-boot-stage1$(EXE)
-+ chicken-boot-stage1$(EXE)
-+ "$(MAKE)" PLATFORM=$(PLATFORM) CONFIG= touchfiles
- "$(MAKE)" PLATFORM=$(PLATFORM) PREFIX=/nowhere CONFIG= \
- CHICKEN=.$(SEP)chicken-boot-stage1$(EXE) PROGRAM_SUFFIX=-boot \
- STATICBUILD=1 C_COMPILER_OPTIMIZATION_OPTIONS="$(C_COMPILER_OPTIMIZATION_OPTIONS)" \
-- touchfiles chicken-boot$(EXE) confclean
-+ chicken-boot$(EXE)
-+ "$(MAKE)" PLATFORM=$(PLATFORM) CONFIG= confclean
-
- .PHONY: touchfiles
-