diff options
author | Rainer Groesslinger <scandium@gentoo.org> | 2003-12-22 21:36:57 +0000 |
---|---|---|
committer | Rainer Groesslinger <scandium@gentoo.org> | 2003-12-22 21:36:57 +0000 |
commit | 349e3b802287aaee40e4db904990bfd2892dcce7 (patch) | |
tree | f38850b5645000a0aec4e2c1781289b6b29e7696 | |
parent | Marked stable on sparc. (diff) | |
download | historical-349e3b802287aaee40e4db904990bfd2892dcce7.tar.gz historical-349e3b802287aaee40e4db904990bfd2892dcce7.tar.bz2 historical-349e3b802287aaee40e4db904990bfd2892dcce7.zip |
fix module decode problems (bug #32973)
-rw-r--r-- | dev-lang/pike/ChangeLog | 8 | ||||
-rw-r--r-- | dev-lang/pike/Manifest | 4 | ||||
-rw-r--r-- | dev-lang/pike/files/digest-pike-7.4.28-r2 | 1 | ||||
-rw-r--r-- | dev-lang/pike/pike-7.4.28-r2.ebuild | 101 |
4 files changed, 112 insertions, 2 deletions
diff --git a/dev-lang/pike/ChangeLog b/dev-lang/pike/ChangeLog index 2d36619f7ffa..52f6fef67b5e 100644 --- a/dev-lang/pike/ChangeLog +++ b/dev-lang/pike/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-lang/pike # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/pike/ChangeLog,v 1.5 2003/12/01 18:00:06 scandium Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/pike/ChangeLog,v 1.6 2003/12/22 21:36:37 scandium Exp $ + +*pike-7.4.28-r2 (22 Dec 2003) + + 22 Dec 2003; Rainer Groesslinger <scandium@gentoo.org> + pike-7.4.28-r2.ebuild: + fix module decode problems (bug #32973) 01 Dec 2003; Rainer Groesslinger <scandium@gentoo.org> pike-7.4.20.ebuild, pike-7.4.28-r1.ebuild, pike-7.4.28.ebuild: diff --git a/dev-lang/pike/Manifest b/dev-lang/pike/Manifest index 3d8509047ed4..9b9c8addc6b7 100644 --- a/dev-lang/pike/Manifest +++ b/dev-lang/pike/Manifest @@ -1,8 +1,10 @@ MD5 2218029e649465ae8a084ce300dafad4 pike-7.4.28-r1.ebuild 3275 +MD5 35431015ec8355e29994ec6c864cfb6e pike-7.4.28-r2.ebuild 3413 MD5 7ab83d065637220d85e8d700dac9c81c pike-7.4.28.ebuild 2003 -MD5 8466a163e9fe93c7960a304db02cfa3b ChangeLog 1131 +MD5 831443f7b613c3b65818f11bc9fcbd14 ChangeLog 1287 MD5 1efbcdf96e3ab3fb9f04638c2a264a96 pike-7.4.20.ebuild 2018 MD5 7164d2a546785fee1e77dac8839fdeaa metadata.xml 224 MD5 308f6090a8fe96c717509be0d49c460f files/digest-pike-7.4.20 65 MD5 1cccd76eeefbf61cd9f6133718f04d5f files/digest-pike-7.4.28 65 MD5 1cccd76eeefbf61cd9f6133718f04d5f files/digest-pike-7.4.28-r1 65 +MD5 1cccd76eeefbf61cd9f6133718f04d5f files/digest-pike-7.4.28-r2 65 diff --git a/dev-lang/pike/files/digest-pike-7.4.28-r2 b/dev-lang/pike/files/digest-pike-7.4.28-r2 new file mode 100644 index 000000000000..f5426a8ea50a --- /dev/null +++ b/dev-lang/pike/files/digest-pike-7.4.28-r2 @@ -0,0 +1 @@ +MD5 98a7944cea94c7255a24f2cba7d15ec1 Pike-v7.4.28.tar.gz 6712605 diff --git a/dev-lang/pike/pike-7.4.28-r2.ebuild b/dev-lang/pike/pike-7.4.28-r2.ebuild new file mode 100644 index 000000000000..f1136032d806 --- /dev/null +++ b/dev-lang/pike/pike-7.4.28-r2.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc., Emil Skoldberg, Fredrik Mellstrom (see ChangeLog) +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/pike/pike-7.4.28-r2.ebuild,v 1.1 2003/12/22 21:36:37 scandium Exp $ + +inherit flag-o-matic fixheadtails + +# -fomit-frame-pointer breaks the compilation +filter-flags -fomit-frame-pointer + +IUSE="debug doc gdbm gif java jpeg mysql oci8 odbc opengl pdflib postgres scanner sdl tiff truetype zlib" + +S="${WORKDIR}/Pike-v${PV}" +HOMEPAGE="http://pike.ida.liu.se/" +DESCRIPTION="Pike programming language and runtime" +SRC_URI="ftp://pike.ida.liu.se/pub/pike/all/${PV}/Pike-v${PV}.tar.gz" + +LICENSE="GPL-2 | LGPL-2.1 | MPL-1.1" +SLOT="0" +KEYWORDS="~x86 ~ppc" + +DEPEND="dev-libs/gmp + zlib? ( sys-libs/zlib ) + pdflib? ( media-libs/pdflib ) + gdbm? ( sys-libs/gdbm ) + java? ( virtual/jdk ) + scanner? ( media-gfx/sane-backends ) + mysql? ( dev-db/mysql ) + postgres? ( dev-db/postgresql ) + gif? ( media-libs/giflib ) + truetype? ( media-libs/freetype ) + jpeg? ( media-libs/jpeg ) + tiff? ( media-libs/tiff ) + opengl? ( virtual/opengl + virtual/glut ) + sdl? ( media-libs/libsdl ) + sys-devel/gcc + sys-devel/make + sys-apps/sed" + +src_unpack() { + unpack ${A} + cd ${S} + + # ht_fix_all kills autoheader stuff, so we use ht_fix_file + find . -iname "*.sh" -or -iname "*.sh.in" -or -iname "Makefile*" | \ + while read i; do + ht_fix_file $i + done +} + +src_compile() { + + einfo 'Gtk+ and Gnome support is disabled for now!' + einfo 'Gtk+-2 did not work with pike and' + einfo 'Gtk+-1 just caused too many problems' + sleep 5 + + local myconf + use zlib || myconf="${myconf} --without-zlib" + use mysql || myconf="${myconf} --without-mysql" + use debug || myconf="${myconf} --without-debug" + use gdbm || myconf="${myconf} --without-gdbm" + use pdflib || myconf="${myconf} --without-libpdf" + use java || myconf="${myconf} --without-java" + use odbc || myconf="${myconf} --without-odbc" + use scanner || myconf="${myconf} --without-sane" + use postgres || myconf="${myconf} --without-postgres" + use oci8 || myconf="${myconf} --without-oracle" + use gif || myconf="${myconf} --without-gif" + use truetype || myconf="${myconf} --without-ttflib --without-freetype" + use jpeg || myconf="${myconf} --without-jpeglib" + use tiff || myconf="${myconf} --without-tifflib" + use opengl || myconf="${myconf} --without-GL --without-GLUT" + + # We have to use --disable-make_conf to override make.conf settings + # Otherwise it may set -fomit-frame-pointer again + # disable ffmpeg support because it does not compile + # disable dvb support because it does not compile + emake CONFIGUREARGS="${myconf} --prefix=/usr --disable-make_conf --without-ffmpeg \ + --without-GTK --without-GTK2 --without-gnome --without-dvb" || die + + # only build documentation if 'doc' is in USE + if use doc; then + PATH="${S}/bin:${PATH}" make doc || die + fi +} + +src_install() { + # the installer should be stopped from removing files, to prevent sandbox issues + sed -i s/rm\(mod\+\"\.o\"\)\;/\{\}/ ${S}/bin/install.pike || die "Failed to modify install.pike" + + make INSTALLARGS="--traditional" buildroot="${D}" install || die + + # We remove all .o files to prevent decode errors, bug #32973 + rm -vf `find ${D} -regex '.*\.o' -type f | xargs` + + if use doc; then + einfo "Installing 60MB of docs, this could take some time ..." + dohtml -r ${S}/refdoc/traditional_manual ${S}/refdoc/modref + fi +} |