From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DMARC_NONE, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=4.0.0 Received: from hermes.sistina.com (hermes.sistina.com [208.210.149.36]) by chiba.3jane.net (Postfix) with ESMTP id 39D51ABD50 for ; Sat, 22 Jun 2002 20:29:40 -0500 (CDT) Received: from c-24-245-5-130.mn.client2.attbi.com ([24.245.5.130] helo=athlon.dolly-llama.org) by hermes.sistina.com with asmtp (TLSv1:DES-CBC3-SHA:168) (Exim 3.34 #1) id 17LwBS-0002gP-00; Sat, 22 Jun 2002 20:28:54 -0500 Received: from blutgens by athlon.dolly-llama.org with local (Exim 4.04 #1 (Debian)) id 17LwIW-00010R-00; Sat, 22 Jun 2002 20:36:12 -0500 Date: Sat, 22 Jun 2002 20:36:12 -0500 From: Ben Lutgens To: Jacob Perkins Cc: gentoo-dev@gentoo.org Subject: Re: [gentoo-dev] new xvid ebuild Message-ID: <20020623013612.GA3782@athlon.dolly-llama.org> References: <1024790631.6182.7.camel@rig.dyndns.ws> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VbJkn9YxBvnuCH5J" Content-Disposition: inline In-Reply-To: <1024790631.6182.7.camel@rig.dyndns.ws> User-Agent: Mutt/1.4i X-message-flag: Outlook is a breeding ground for viruses! See http://cws.internet.com/mail.html for alternatives X-Mailer: Mutt 1.3.27i http://www.mutt.org/ Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: cd050dc0-683c-4518-9e1a-38ff9e80e65b X-Archives-Hash: 74f3b4946a94c56c54d4d817befbaf1c --VbJkn9YxBvnuCH5J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jun 22, 2002 at 07:03:51PM -0500, Jacob Perkins wrote: >I'm trying to make an ebuild for the xvid encoding library, and it's my >first one so I'm having a little trouble. It doesn't have a configure >script and only has a Makefile that has it's own CFLAGS, prefix, etc.=20 >What kind of commands are available for setting the flags to those in >make.conf? use some sed mojo. from the exim ebuild: sed -e "48i\CFLAGS=3D${CFLAGS}" src/EDITME > Local/Makefile you can do=20 cat fileyouwannaedit | sed -e "s:stuff to change:new stuff:g" > fileyouwann= aedit or=20 cp fileyouwannaedit fileyouwannaedit.orig=20 sed -e "48i\CFLAGS=3D${CFLAGS}" fileyouwannaedit.orig > fileyouwannaedit > >Jacob > > --=20 Ben Lutgens | http://cvs.gentoo.org/~lamer/=09 Random Gentoo Developer | http://www.gentoo.org/ "I got a wife and kids too but you don't see me out here stealing Imperial Droids now do ya?" --VbJkn9YxBvnuCH5J Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9FSYMEPToQXBhE0ERAn9fAJ0Q7MPSqsWgMhpyJpNe+siMzz7kswCgh9Kr EhgMnrbW76YFTRM2HnQx/IU= =arBA -----END PGP SIGNATURE----- --VbJkn9YxBvnuCH5J--