Gentoo Archives: gentoo-dev

From: Georgi Georgiev <chutz@×××.net>
To: Gentoo Developers <gentoo-dev@g.o>
Subject: Re: [gentoo-dev] ebuild question
Date: Sat, 31 May 2003 03:00:35
Message-Id: 20030531030030.GA8047%chutz@gg3.net
In Reply to: Re: [gentoo-dev] ebuild question by Grant Goodyear
1 On 30/05/2003 at 11:27:21(-0400), Grant Goodyear used 1.0Kbytes just to say:
2 > On Fri, 2003-05-30 at 11:17, William Hubbs wrote:
3 > > Hi all,
4 > >
5 > > I am working on an ebuild for sus ( http://pdg.uow.edu.au/sus/).
6 > >
7 > > This program doesn't use autoconf. It just has a makefile which must be
8 > > edited to set up the locations files should be installed. What is the best
9 > > way to handle this? I can think of two options -- use sed to edit the
10 > > file, or generate a patch.
11 >
12 > A patch is one more file that you have to maintain, so sed is generally
13 > preferred if it's not too ugly.
14
15 Maybe it would be easy enough to set the necessary makefile macros on the
16 command-line. i.e.
17
18 make PREFIX="$D" CFLAGS="...."
19
20 etc.
21
22
23 --
24 /^^^^^^^^^^^^^^^^^^^^^^^^^^^\/^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\
25 / Georgi Georgiev (-< / Computer programmers do it byte \
26 \ chutz@×××××××.net /\ .o)\ by byte. /
27 / +81(90)6266-1163 V_/_ |(/)/ \
28 \___________________________/\__________________________________/
29
30 --
31 gentoo-dev@g.o mailing list