public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/lisp:master commit in: dev-scheme/chicken/
@ 2012-02-27 17:18 Erik Falor
  0 siblings, 0 replies; 6+ messages in thread
From: Erik Falor @ 2012-02-27 17:18 UTC (permalink / raw
  To: gentoo-commits

commit:     8e076d6cbe00f639ea6e3e02c2c72fb1f4515b14
Author:     fadein <fadein <AT> gemini <DOT> doesntexist <DOT> org>
AuthorDate: Sun Feb 26 03:48:38 2012 +0000
Commit:     Erik Falor <ewfalor <AT> gmail <DOT> com>
CommitDate: Sun Feb 26 03:48:38 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/lisp.git;a=commit;h=8e076d6c

dev-scheme/chicken: bump to 4.7.0; fix bug #335418

---
 dev-scheme/chicken/chicken-4.7.0.ebuild |   76 +++++++++++++++++++++++++++++++
 1 files changed, 76 insertions(+), 0 deletions(-)

diff --git a/dev-scheme/chicken/chicken-4.7.0.ebuild b/dev-scheme/chicken/chicken-4.7.0.ebuild
new file mode 100644
index 0000000..aad6f87
--- /dev/null
+++ b/dev-scheme/chicken/chicken-4.7.0.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+
+EAPI="3"
+
+inherit eutils multilib
+
+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/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86"
+IUSE="emacs"
+
+DEPEND="sys-apps/texinfo
+		emacs? ( virtual/emacs )"
+RDEPEND="emacs? ( virtual/emacs app-emacs/scheme-complete )"
+
+## the major mode for Chicken source
+SITEFILE=50hen-gentoo.el
+
+src_prepare() {
+	#Because chicken's Upstream have a custom to use variables that also
+	#portage uses. Fixes #393561
+	unset A ARCH
+	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() {
+	OPTIONS="PLATFORM=linux PREFIX=/usr"
+	#Because chicken's Upstream have a custom to use variables that also
+	#portage uses. Fixes #393561
+	unset A ARCH
+
+	#upstream does not yet support parallel builds, bug 265881
+	#LINKER_OPTIONS doesn't seem to be incorporated into Makefile.linux -
+	#might have to patch it...
+	emake -j1 ${OPTIONS} C_COMPILER_OPTIMIZATION_OPTIONS="${CFLAGS}" \
+		LINKER_OPTIONS="${LDFLAGS}" \
+		HOSTSYSTEM="${CBUILD}" || die "emake failed"
+}
+
+# chicken's testsuite is not runnable before install
+# upstream has been notified of the issue
+RESTRICT=test
+
+src_install() {
+	#Because chicken's Upstream have a custom to use variables that also
+	#portage uses. Fixes #393561
+	unset A ARCH
+
+	#upstream does not yet support parallel builds, bug 265881
+	emake -j1 ${OPTIONS} DESTDIR="${D}" HOSTSYSTEM="${CBUILD}" \
+		LINKER_OPTIONS="${LDFLAGS}" \
+	install || die
+
+	rm "${D}"/usr/share/doc/${P}/LICENSE || die
+	dodoc NEWS || die
+
+	if use emacs; then
+		elisp-install ${PN} hen.{el,elc} || die
+		elisp-site-file-install "${FILESDIR}"/${SITEFILE} || die
+	fi
+}
+
+pkg_postinst()
+{
+	#Because we pass DESTDIR= to make back in src_install(), the build
+	#won't automatically run chicken-install -update-db at that time.
+	chicken-install -update-db
+}



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] proj/lisp:master commit in: dev-scheme/chicken/
@ 2013-01-10 20:49 Erik Falor
  0 siblings, 0 replies; 6+ messages in thread
From: Erik Falor @ 2013-01-10 20:49 UTC (permalink / raw
  To: gentoo-commits

commit:     792b170f6a3934d63cf2ac7b6daba98c3847e3e0
Author:     Erik Falor (fadein) <ewfalor <AT> gmail <DOT> com>
AuthorDate: Thu Jan 10 20:48:27 2013 +0000
Commit:     Erik Falor <ewfalor <AT> gmail <DOT> com>
CommitDate: Thu Jan 10 20:48:27 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/lisp.git;a=commit;h=792b170f

dev-scheme/chicken: Respect LDFLAGS

---
 dev-scheme/chicken/chicken-4.8.0.ebuild |   14 +++++---------
 1 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/dev-scheme/chicken/chicken-4.8.0.ebuild b/dev-scheme/chicken/chicken-4.8.0.ebuild
index 97bae79..b094dc2 100644
--- a/dev-scheme/chicken/chicken-4.8.0.ebuild
+++ b/dev-scheme/chicken/chicken-4.8.0.ebuild
@@ -28,14 +28,6 @@ src_prepare() {
 
 	#Because chicken's Upstream is in the habit of using variables that
 	#portage also uses :( eg. $ARCH and $A
-	#for f in defaults.make Makefile.bsd Makefile.cross-linux-mingw Makefile.cygwin \
-	#	Makefile.linux Makefile.macosx Makefile.mingw-msys Makefile.solaris \
-	#	rules.make
-	#do
-	#	sed "s,ARCH,zARCH," -i ${f} || die "sed failed"
-	#	# bug #393561: installs /usr/lib/libchickenchicken-4.7.3.tar.gz (portage pollutes ${A} variable)
-	#	sed 's,A\(\s?=\|)\),chicken&,p' -i ${f} || die "sed failed"
-	#done
 	unset A ARCH
 
 	sed "s,\$(PREFIX)/lib,\$(PREFIX)/$(get_libdir)," -i defaults.make || die "sed failed"
@@ -48,9 +40,11 @@ src_compile() {
 	if use "parallel-build"
 	then
 		emake ${OPTIONS} C_COMPILER_OPTIMIZATION_OPTIONS="${CFLAGS}" \
+			LINKER_OPTIONS="${LDFLAGS}" \
 			HOSTSYSTEM="${CBUILD}" || die "emake failed"
 	else
 		emake -j1 ${OPTIONS} C_COMPILER_OPTIMIZATION_OPTIONS="${CFLAGS}" \
+			LINKER_OPTIONS="${LDFLAGS}" \
 			HOSTSYSTEM="${CBUILD}" || die "emake failed"
 	fi
 }
@@ -62,7 +56,9 @@ RESTRICT=test
 src_install() {
 	unset A ARCH
 	# still can't run make in parallel for the install target
-	emake -j1 ${OPTIONS} DESTDIR="${D}" HOSTSYSTEM="${CBUILD}" install || die
+	emake -j1 ${OPTIONS} DESTDIR="${D}" HOSTSYSTEM="${CBUILD}" \
+		LINKER_OPTIONS="${LDFLAGS}" \
+		install || die
 
 	rm "${D}"/usr/share/doc/${P}/LICENSE || die
 	dodoc NEWS || die


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] proj/lisp:master commit in: dev-scheme/chicken/
@ 2013-01-16 17:28 Erik Falor
  0 siblings, 0 replies; 6+ messages in thread
From: Erik Falor @ 2013-01-16 17:28 UTC (permalink / raw
  To: gentoo-commits

commit:     6ed38b9fbef6e46dd5d447e9fee5c23372850448
Author:     Erik Falor (fadein) <ewfalor <AT> gmail <DOT> com>
AuthorDate: Wed Jan 16 17:26:45 2013 +0000
Commit:     Erik Falor <ewfalor <AT> gmail <DOT> com>
CommitDate: Wed Jan 16 17:26:45 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/lisp.git;a=commit;h=6ed38b9f

dev-scheme/chicken: `sed` ebuild vars in Makefiles

---
 dev-scheme/chicken/chicken-4.8.0.ebuild |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/dev-scheme/chicken/chicken-4.8.0.ebuild b/dev-scheme/chicken/chicken-4.8.0.ebuild
index b094dc2..5deb59d 100644
--- a/dev-scheme/chicken/chicken-4.8.0.ebuild
+++ b/dev-scheme/chicken/chicken-4.8.0.ebuild
@@ -28,14 +28,21 @@ src_prepare() {
 
 	#Because chicken's Upstream is in the habit of using variables that
 	#portage also uses :( eg. $ARCH and $A
-	unset A ARCH
+	sed 's,A\(\s?=\|)\),chicken&,p' -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() {
-	unset A ARCH
 	OPTIONS="PLATFORM=linux PREFIX=/usr"
 	if use "parallel-build"
 	then
@@ -54,7 +61,6 @@ src_compile() {
 RESTRICT=test
 
 src_install() {
-	unset A ARCH
 	# still can't run make in parallel for the install target
 	emake -j1 ${OPTIONS} DESTDIR="${D}" HOSTSYSTEM="${CBUILD}" \
 		LINKER_OPTIONS="${LDFLAGS}" \


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] proj/lisp:master commit in: dev-scheme/chicken/
@ 2013-01-17 23:16 Erik Falor
  0 siblings, 0 replies; 6+ messages in thread
From: Erik Falor @ 2013-01-17 23:16 UTC (permalink / raw
  To: gentoo-commits

commit:     85329427609bb8097cfd8d904d1ac33738126486
Author:     Erik Falor (fadein) <ewfalor <AT> gmail <DOT> com>
AuthorDate: Thu Jan 17 23:15:56 2013 +0000
Commit:     Erik Falor <ewfalor <AT> gmail <DOT> com>
CommitDate: Thu Jan 17 23:15:56 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/lisp.git;a=commit;h=85329427

dev-scheme/chicken: fix sed bug; respect USE=-doc

---
 dev-scheme/chicken/chicken-4.8.0.ebuild |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/dev-scheme/chicken/chicken-4.8.0.ebuild b/dev-scheme/chicken/chicken-4.8.0.ebuild
index 5deb59d..9377627 100644
--- a/dev-scheme/chicken/chicken-4.8.0.ebuild
+++ b/dev-scheme/chicken/chicken-4.8.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="http://code.call-cc.org/releases/${PV}/${P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86"
-IUSE="emacs parallel-build"
+IUSE="emacs parallel-build doc"
 
 DEPEND="sys-apps/texinfo
 		emacs? ( virtual/emacs )"
@@ -28,7 +28,7 @@ src_prepare() {
 
 	#Because chicken's Upstream is in the habit of using variables that
 	#portage also uses :( eg. $ARCH and $A
-	sed 's,A\(\s?=\|)\),chicken&,p' -i Makefile.cross-linux-mingw \
+	sed 's,A\(\s?=\|)\),chicken&,' -i Makefile.cross-linux-mingw \
 		defaults.make rules.make \
 		|| die "sed failed"
 
@@ -68,4 +68,10 @@ src_install() {
 
 	rm "${D}"/usr/share/doc/${P}/LICENSE || die
 	dodoc NEWS || die
+
+	# remove HTML documentation if the user doesn't USE=doc
+	if ! use "doc"
+	then
+		rm -rf "${D}"/usr/share/doc/${P}/manual || die
+	fi
 }


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] proj/lisp:master commit in: dev-scheme/chicken/
@ 2013-02-03  0:02 Erik Falor
  0 siblings, 0 replies; 6+ messages in thread
From: Erik Falor @ 2013-02-03  0:02 UTC (permalink / raw
  To: gentoo-commits

commit:     90a4dfe02348c681ba12d4c89eae44af0cd08417
Author:     Erik Falor (fadein) <ewfalor <AT> gmail <DOT> com>
AuthorDate: Sat Feb  2 23:58:48 2013 +0000
Commit:     Erik Falor <ewfalor <AT> gmail <DOT> com>
CommitDate: Sat Feb  2 23:58:48 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/lisp.git;a=commit;h=90a4dfe0

chicken-4.8.0.1 added; chicken-9999 removed

Bump Chicken to 4.8.0.1 in response to a security vulnerability outlined
in https://bugs.gentoo.org/show_bug.cgi?id=455200

Three of the four vulns reported there were already addressed in 4.8.0.

---
 dev-scheme/chicken/chicken-4.8.0.1.ebuild |   78 +++++++++++++++++++++++++++++
 dev-scheme/chicken/chicken-9999.ebuild    |   75 ---------------------------
 2 files changed, 78 insertions(+), 75 deletions(-)

diff --git a/dev-scheme/chicken/chicken-4.8.0.1.ebuild b/dev-scheme/chicken/chicken-4.8.0.1.ebuild
new file mode 100644
index 0000000..aca3866
--- /dev/null
+++ b/dev-scheme/chicken/chicken-4.8.0.1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+
+EAPI="3"
+
+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}"/${P}-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() {
+	OPTIONS="PLATFORM=linux PREFIX=/usr"
+	if use "parallel-build"
+	then
+		emake ${OPTIONS} C_COMPILER_OPTIMIZATION_OPTIONS="${CFLAGS}" \
+			LINKER_OPTIONS="${LDFLAGS}" \
+			HOSTSYSTEM="${CBUILD}" || die "emake failed"
+	else
+		emake -j1 ${OPTIONS} C_COMPILER_OPTIMIZATION_OPTIONS="${CFLAGS}" \
+			LINKER_OPTIONS="${LDFLAGS}" \
+			HOSTSYSTEM="${CBUILD}" || die "emake failed"
+	fi
+}
+
+# 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 || die
+
+	rm "${D}"/usr/share/doc/${P}/LICENSE || die
+	dodoc NEWS || die
+
+	# 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/chicken-9999.ebuild b/dev-scheme/chicken/chicken-9999.ebuild
deleted file mode 100644
index 264684f..0000000
--- a/dev-scheme/chicken/chicken-9999.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit subversion multilib elisp-common
-
-DESCRIPTION="Chicken is a Scheme interpreter and native Scheme to C compiler"
-HOMEPAGE="http://www.call-with-current-continuation.org/"
-
-ESVN_REPO_URI="http://galinha.ucpel.tche.br/svn/chicken-eggs/chicken/trunk"
-ESVN_OPTIONS="--username=anonymous --password= --non-interactive"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS=""
-IUSE="emacs"
-
-DEPEND=">=dev-libs/libpcre-7.6
-		sys-apps/texinfo
-		emacs? ( virtual/emacs )"
-
-SITEFILE=50hen-gentoo.el
-
-src_unpack() {
-	subversion_fetch || die
-	cd "${S}"
-	sed -i -e "s:/lib:/$(get_libdir):g" defaults.make
-}
-
-src_compile() {
-	unset A
-
-	set > /tmp/envvars
-
-	OPTIONS="PLATFORM=linux PREFIX=/usr"
-
-	# all this is necessary for bootstrapping from svn. yes, I asked :P
-	emake ${OPTIONS} confclean || die
-	emake ${OPTIONS} spotless  || die
-	emake ${OPTIONS} bootstrap || die
-	emake ${OPTIONS} confclean || die
-	OPTIONS="${OPTIONS} USE_HOST_PCRE=1"
-	emake ${OPTIONS} C_COMPILER_OPTIMIZATION_OPTIONS="${CFLAGS}" CHICKEN=./chicken-boot || die
-
-	if use emacs; then
-		elisp-compile hen.el || die
-	fi
-}
-
-RESTRICT=test
-
-src_install() {
-	# just in case..
-	unset A
-
-	emake ${OPTIONS} DESTDIR="${D}" install || die
-	dodoc ChangeLog* NEWS
-	dohtml -r html/
-	rm -rf "${D}"/usr/share/chicken/doc
-
-	keepdir /usr/$(get_libdir)/chicken/3
-
-	if use emacs; then
-		elisp-install ${PN} hen.{el,elc} || die
-		elisp-site-file-install "${FILESDIR}"/${SITEFILE} || die
-	fi
-}
-
-pkg_postinst() {
-	use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
-	use emacs && elisp-site-regen
-}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] proj/lisp:master commit in: dev-scheme/chicken/
@ 2014-09-17  3:56 Erik Falor
  0 siblings, 0 replies; 6+ messages in thread
From: Erik Falor @ 2014-09-17  3:56 UTC (permalink / raw
  To: gentoo-commits

commit:     7f11b92232e56f732d291872aae4a3bd84123e48
Author:     Erik Falor <ewfalor <AT> gmail <DOT> com>
AuthorDate: Wed Sep 17 03:59:45 2014 +0000
Commit:     Erik Falor <ewfalor <AT> gmail <DOT> com>
CommitDate: Wed Sep 17 04:00:19 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/lisp.git;a=commit;h=7f11b922

dev-scheme/chicken: bump to version 4.9.0.1

---
 dev-scheme/chicken/chicken-4.9.0.1.ebuild | 76 +++++++++++++++++++++++++++++++
 1 file changed, 76 insertions(+)

diff --git a/dev-scheme/chicken/chicken-4.9.0.1.ebuild b/dev-scheme/chicken/chicken-4.9.0.1.ebuild
new file mode 100644
index 0000000..f40c9b6
--- /dev/null
+++ b/dev-scheme/chicken/chicken-4.9.0.1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/chicken/chicken-4.8.0.1.ebuild,v 1.1 2013/02/05 23:51:45 pchrist Exp $
+
+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}"/parallel-build-${MY_PV}.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}" || die "emake failed"
+}
+
+# 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 || die
+
+	rm "${D}"/usr/share/doc/${P}/LICENSE || die
+	dodoc NEWS || die
+
+	# remove HTML documentation if the user doesn't USE=doc
+	if ! use "doc"
+	then
+		rm -rf "${D}"/usr/share/doc/${P}/manual || die
+	fi
+}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-09-17  3:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-17  3:56 [gentoo-commits] proj/lisp:master commit in: dev-scheme/chicken/ Erik Falor
  -- strict thread matches above, loose matches on Subject: below --
2013-02-03  0:02 Erik Falor
2013-01-17 23:16 Erik Falor
2013-01-16 17:28 Erik Falor
2013-01-10 20:49 Erik Falor
2012-02-27 17:18 Erik Falor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox