Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Marijn Schouten (hkbst)" <hkbst@g.o>
Subject: gentoo-x86 commit in dev-lang/smlnj: ChangeLog smlnj-110.67-r1.ebuild smlnj-110.67.ebuild
Date: Sun, 18 Nov 2007 17:50:50 +0000
hkbst       07/11/18 17:50:50

  Modified:             ChangeLog
  Added:                smlnj-110.67-r1.ebuild
  Removed:              smlnj-110.67.ebuild
  Log:
  fix several issues that prevented sml from working correctly, bug 139381
  (Portage version: 2.1.3.19)

Revision  Changes    Path
1.18                 dev-lang/smlnj/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/smlnj/ChangeLog?rev=1.18&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/smlnj/ChangeLog?rev=1.18&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/smlnj/ChangeLog?r1=1.17&r2=1.18

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/smlnj/ChangeLog,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- ChangeLog	15 Nov 2007 22:18:13 -0000	1.17
+++ ChangeLog	18 Nov 2007 17:50:49 -0000	1.18
@@ -1,6 +1,12 @@
 # ChangeLog for dev-lang/smlnj
 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/smlnj/ChangeLog,v 1.17 2007/11/15 22:18:13 hkbst Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/smlnj/ChangeLog,v 1.18 2007/11/18 17:50:49 hkbst Exp $
+
+*smlnj-110.67-r1 (18 Nov 2007)
+
+  18 Nov 2007; Marijn Schouten <hkBst@g.o> -smlnj-110.67.ebuild,
+  +smlnj-110.67-r1.ebuild:
+  fix several issues that prevented sml from working correctly, bug 139381
 
   15 Nov 2007; Marijn Schouten <hkBst@g.o> files/digest-smlnj-110.67,
   Manifest:



1.1                  dev-lang/smlnj/smlnj-110.67-r1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/smlnj/smlnj-110.67-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/smlnj/smlnj-110.67-r1.ebuild?rev=1.1&content-type=text/plain

Index: smlnj-110.67-r1.ebuild
===================================================================
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/smlnj/smlnj-110.67-r1.ebuild,v 1.1 2007/11/18 17:50:49 hkbst Exp $

inherit eutils

DESCRIPTION="Standard ML of New Jersey compiler and libraries"
HOMEPAGE="http://www.smlnj.org"

#BASE_URI="http://smlnj.cs.uchicago.edu/dist/working/${PV}/"
BASE_URI="mirror://gentoo/${P}-"

#Use the fetch_files.sh script in subdir files/ to fetch and
#version these files if they aren't on Gentoo mirrors.
#For example if you're doing a local bump.
FILES="
config.tgz

cm.tgz
compiler.tgz
runtime.tgz
system.tgz
MLRISC.tgz
smlnj-lib.tgz

ckit.tgz
nlffi.tgz

cml.tgz
eXene.tgz

ml-lex.tgz
ml-yacc.tgz
ml-burg.tgz
ml-lpt.tgz

pgraph.tgz
trace-debug-profile.tgz

heap2asm.tgz

smlnj-c.tgz
"

#use amd64 in 32-bit mode
SRC_URI="amd64? ( ${BASE_URI}boot.x86-unix.tgz )
		 ppc?   ( ${BASE_URI}boot.ppc-unix.tgz )
		 sparc? ( ${BASE_URI}boot.sparc-unix.tgz )
		 x86?   ( ${BASE_URI}boot.x86-unix.tgz )"

for file in ${FILES}; do
	SRC_URI+=" ${BASE_URI}${file} "
done

LICENSE="BSD"
SLOT="0"
KEYWORDS="-* ~amd64 ~ppc ~x86"
IUSE=""

S="${WORKDIR}"

#SMLNJ_DEST="/usr/lib/smlnj"
#SMLNJ_TARGETS="./config/targets"

#GEN_POSIX_NAMES_PATCH="15i\n#\n.\nj\nw\nq"

#ARCH_BOOT="sml.boot.${ARCH}-unix"

src_unpack() {
	mkdir -p "${S}"
	for file in ${A}; do
		[[ ${file} != ${P}-config.tgz ]] && mv "${DISTDIR}/${file}" "${S}/${file#${P}-}"
	done
	unpack ${P}-config.tgz && rm config/*.bat
	echo SRCARCHIVEURL=\"file:/${S}\" > "${S}"/config/srcarchiveurl
}

src_compile() {
#	echo "request ml-burg" >> $SMLNJ_TARGETS
#	echo "request eXene" >> $SMLNJ_TARGETS

	SMLNJ_HOME="${S}" ./config/install.sh || die "compilation failed"
}

_src_install() {
	insinto /usr
	doins -R bin lib
}

src_install() {
	mkdir -p "${D}"/usr
	mv {bin,lib} "${D}"/usr

	for file in "${D}"/usr/bin/{*,.*}; do
		[[ -f ${file} ]] && sed "2iSMLNJ_HOME=/usr" -i ${file}
#		[[ -f ${file} ]] && sed "s:${WORKDIR}:/usr:" -i ${file}
	done
}

_src_install() {
	dodir ${SMLNJ_DEST}
	cd "${WORKDIR}"

	sed -i -e "s/head -1/head -n 1/" bin/.run-sml

	exeinto ${SMLNJ_DEST}/bin
	doexe bin/{.run-sml,.link-sml,.arch-n-opsys,ml-makedepend,ml-build}

	exeinto ${SMLNJ_DEST}/bin/.run
	doexe bin/.run/*

	insinto ${SMLNJ_DEST}/bin/.heap
	doins bin/.heap/*

	for i in ml-lex ml-yacc sml ml-burg
	  do
	  dosym .run-sml ${SMLNJ_DEST}/bin/$i
	done

	cp -Rp "${WORKDIR}"/lib "${D}/${SMLNJ_DEST}"

	dodir /etc/env.d
	echo -e SMLNJ_HOME=${SMLNJ_DEST} > "${D}"/etc/env.d/50smlnj

	#need to provide symlinks into /usr/bin
	dodir /usr/bin
	dosym ${SMLNJ_DEST}/bin/ml-build /usr/bin/
	dosym ${SMLNJ_DEST}/bin/ml-burg /usr/bin
	dosym ${SMLNJ_DEST}/bin/ml-lex /usr/bin
	dosym ${SMLNJ_DEST}/bin/ml-makedepend /usr/bin
	dosym ${SMLNJ_DEST}/bin/ml-yacc /usr/bin
	dosym ${SMLNJ_DEST}/bin/sml /usr/bin
}



-- 
gentoo-commits@g.o mailing list


Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-x86 commit in dev-lang/perl/files: perl-5.8.8-lib64.patch
Next by thread:
gentoo-x86 commit in media-plugins/vco-plugins: metadata.xml ChangeLog vco-plugins-0.2.1.ebuild
Previous by date:
gentoo-x86 commit in dev-java/commons-io: commons-io-1.3.2.ebuild ChangeLog
Next by date:
gentoo-x86 commit in media-plugins/vco-plugins: metadata.xml ChangeLog vco-plugins-0.2.1.ebuild


Updated Oct 10, 2010

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.