diff options
Diffstat (limited to 'dev-lang/perl/perl-5.8.0-r9.ebuild')
-rw-r--r-- | dev-lang/perl/perl-5.8.0-r9.ebuild | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/dev-lang/perl/perl-5.8.0-r9.ebuild b/dev-lang/perl/perl-5.8.0-r9.ebuild index 5af1cd33b0fa..4bd0940ef4a1 100644 --- a/dev-lang/perl/perl-5.8.0-r9.ebuild +++ b/dev-lang/perl/perl-5.8.0-r9.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.8.0-r9.ebuild,v 1.8 2003/08/22 13:01:07 mcummings Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.8.0-r9.ebuild,v 1.9 2003/09/06 22:27:51 msterret Exp $ # The basic theory based on comments from Daniel Robbins <drobbins@gentoo.org>. # @@ -52,7 +52,7 @@ # # Martin Schlemmer <azarah@gentoo.org> (28 Dec 2002). -inherit eutils flag-o-matic +inherit eutils flag-o-matic # Perl has problems compiling with -Os in your flags replace-flags "-Os" "-O2" @@ -92,7 +92,7 @@ then =sys-devel/libperl-${PV}*" fi -RDEPEND="berkdb? ( >=sys-libs/db-3.2.3h-r3 =sys-libs/db-1.85-r1 ) +RDEPEND="berkdb? ( >=sys-libs/db-3.2.3h-r3 =sys-libs/db-1.85-r1 ) gdbm? ( >=sys-libs/gdbm-1.8.0 )" if [ "${PN}" = "libperl" ] @@ -166,7 +166,7 @@ src_compile() { export LC_ALL="C" local myconf="" - + if [ "`use threads`" ] then einfo "using threads" @@ -202,7 +202,7 @@ src_compile() { fi [ "${ARCH}" = "hppa" ] && append-flags -fPIC - + if [ "${PN}" = "libperl" ] then rm -f config.sh Policy.sh @@ -228,7 +228,7 @@ src_compile() { ${myconf} || die emake -f Makefile depend || die "Couldn't make libperl.so depends" - emake -f Makefile ${LIBPERL} || die "Unable to make libperl.so" + emake -f Makefile ${LIBPERL} || die "Unable to make libperl.so" mv ${LIBPERL} ${WORKDIR} else cat > config.over <<EOF @@ -265,17 +265,17 @@ sleep 10 -Dcf_by='Gentoo' \ -Ud_csh \ ${myconf} || die "Unable to configure" - + MAKEOPTS="${MAKEOPTS} -j1" emake || die "Unable to make" - + emake -i test CCDLFLAGS= fi } src_install() { - + export LC_ALL="C" - + if [ "${PN}" = "libperl" ] then dolib.so ${WORKDIR}/${LIBPERL} @@ -288,7 +288,7 @@ src_install() { dosym ../../../../${LIBPERL} ${coredir}/${LIBPERL} dosym ../../../../${LIBPERL} ${coredir}/libperl.so.${PERLSLOT} dosym ../../../../${LIBPERL} ${coredir}/libperl.so - + # Fix for "stupid" modules and programs dodir /usr/lib/perl5/site_perl/${PV}/${myarch}${mythreading} @@ -332,19 +332,19 @@ EOF --man3dir="${D}/usr/share/man/man3" --man3ext='3' # This removes ${D} from Config.pm and .packlist - for i in `find ${D} -iname "Config.pm"` `find ${D} -iname ".packlist"`;do + for i in `find ${D} -iname "Config.pm"` `find ${D} -iname ".packlist"`;do einfo "Removing ${D} from ${i}..." sed -e "s:${D}::" ${i} > ${i}.new &&\ mv ${i}.new ${i} || die "Sed failed" done fi - + dodoc Changes* Artistic Copying README Todo* AUTHORS if [ "${PN}" = "perl" ] then # HTML Documentation - # We expect errors, warnings, and such with the following. + # We expect errors, warnings, and such with the following. dodir /usr/share/doc/${PF}/html ./perl installhtml \ @@ -381,20 +381,20 @@ pkg_postinst() { # if there are already a perl installed, if so, link libperl.so # to that *soname* version of libperl.so ... local perlversion="`${ROOT}/usr/bin/perl -V:version | cut -d\' -f2 | cut -d. -f1,2`" - + cd ${ROOT}usr/lib # Link libperl.so to the *soname* versioned lib ... ln -snf `echo libperl.so.?.${perlversion} | cut -d. -f1,2,3` libperl.so else local x latest - + # Nope, we are not so lucky ... try to figure out what version # is the latest, and keep fingers crossed ... for x in `ls -1 ${ROOT}usr/lib/libperl.so.?.*` do latest="${x}" done - + cd ${ROOT}usr/lib # Link libperl.so to the *soname* versioned lib ... ln -snf `echo ${latest##*/} | cut -d. -f1,2,3` libperl.so @@ -416,7 +416,7 @@ pkg_postinst() { # Create libperl.so (we use the *soname* versioned lib here ..) ln -snf libperl.so.${PERLSLOT} ${ROOT}usr/lib/libperl.so fi - + if [ "${ROOT}" = "/" ] then ebegin "Converting C header files to the corresponding Perl format" @@ -445,7 +445,7 @@ pkg_postinst() { eerror "" sleep 5 eerror "" - + fi } |