From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j57JjViu025096 for ; Tue, 7 Jun 2005 19:45:31 GMT Received: from agriffis by smtp.gentoo.org with local (Exim 4.43) id 1Dfk1Q-0005Of-OY for gentoo-dev@lists.gentoo.org; Tue, 07 Jun 2005 19:46:00 +0000 Date: Tue, 7 Jun 2005 15:45:46 -0400 X-OfflineIMAP-x1957919776-64676f73656e64-494e424f582e4f7574626f78: 1118173572-0195777584444-v4.0.8 From: Aron Griffis To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Minimal perl install (stage1/livecd makers might be interested?) Message-ID: <20050607194546.GX9084@kaf.zko.hp.com> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <200506070639.28941.mcummings@gentoo.org> <20050607190443.GB4557@curie-int.orbis-terrarum.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sxhug0Teuf3tiWmo" Content-Disposition: inline In-Reply-To: <20050607190443.GB4557@curie-int.orbis-terrarum.net> User-Agent: Mutt/1.5.8i X-Archives-Salt: 00f1baff-30f7-4e0b-8767-441c6b9e26ee X-Archives-Hash: bf440546a64d582f373123e2d3264763 --sxhug0Teuf3tiWmo Content-Type: text/plain; charset=utf8 Content-Disposition: inline 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 --sxhug0Teuf3tiWmo Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCpflqJrHF4yAQTrARAinmAJ9T/6/vWKynRv3erivc8BVEY3+IBACbBx3R FX3s6C6Ll2CS26GFkvUuziM= =bVwW -----END PGP SIGNATURE----- --sxhug0Teuf3tiWmo-- -- gentoo-dev@gentoo.org mailing list