public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Aron Griffis <agriffis@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Minimal perl install (stage1/livecd makers might be interested?)
Date: Tue, 7 Jun 2005 15:45:46 -0400	[thread overview]
Message-ID: <20050607194546.GX9084@kaf.zko.hp.com> (raw)
In-Reply-To: <20050607190443.GB4557@curie-int.orbis-terrarum.net>

[-- Attachment #1: Type: text/plain, Size: 987 bytes --]

Robin H. Johnson wrote:[Tue Jun 07 2005, 03:04:43PM EDT]
> OpenSSL mainly uses perl to generate the assembly language versions
> of it's commands, in an almost portable fashion. There are also
> a few other scripts written in perl, but again, they don't use any
> modules from my examination.

This isn't always an option...  but how hard would it be to rewrite
that stuff in awk or sed?

I did something similar in mozconfig.eclass.  There is a long /bin/csh
script that is part of the mozilla build process.  It used to create
a dependecy from mozilla on csh...  I replaced it with this:

    # Simulate the silly csh makemake script
    makemake() {
        typeset m topdir
        for m in $(find . -name Makefile.in); do
            topdir=$(echo "$m" | sed -r 's:[^/]+:..:g')
            sed -e "s:@srcdir@:.:g" -e "s:@top_srcdir@:${topdir}:g" \
                < ${m} > ${m%.in} || die "sed ${m} failed"
        done
    }

Regards,
Aron

--
Aron Griffis
Gentoo Linux Developer


[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-06-07 19:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-07 10:39 [gentoo-dev] Minimal perl install (stage1/livecd makers might be interested?) Michael Cummings
2005-06-07 18:21 ` Aron Griffis
2005-06-08 14:38   ` Michael Cummings
2005-06-07 19:04 ` Robin H. Johnson
2005-06-07 19:45   ` Aron Griffis [this message]
2005-06-08  7:21     ` Robin H. Johnson
2005-06-08 14:41       ` Michael Cummings
2005-06-08 15:05         ` Chris Gianelloni
2005-06-08 15:24           ` Michael Cummings
2005-06-07 22:22 ` Chris Gianelloni
2005-06-08 14:36   ` Michael Cummings

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050607194546.GX9084@kaf.zko.hp.com \
    --to=agriffis@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox