*gnu*sed?!
N_Ox
n.oxyde at gmail.com
Sat May 19 03:41:01 PDT 2007
Modifying ports depending on gsed wouldn't be that much work:
% egrep -r '((bin|lib):[^:]|port):gsed' . | grep -v PortIndex | cut -
f 1 -d : | xargs -t -n 1 grep gnused
grep gnused ./devel/git-core/Portfile
grep gnused ./devel/quilt/Portfile
configure.args --with-sed=${prefix}/bin/gnused
grep gnused ./print/teTeX/Portfile
reinplace "s|sed -f|${prefix}/bin/gnused -f|g" $
{workpath}/${worksrcdir}/texk/make/man.mk
reinplace "s|sed -n|${prefix}/bin/gnused -n|g" $
{workpath}/${worksrcdir}/texk/make/man.mk
reinplace "s|sed -e|${prefix}/bin/gnused -e|g" $
{workpath}/${worksrcdir}/texk/make/man.mk
Le 18 mai 07 à 23:33, Marius Schamschula a écrit :
> Hi there,
>
> Your point is well taken. When I first created the Portfile, we had
> an online discussion about this very issue. The, then DarwinPorts,
> powers that be chose the gnu prefix, rather than the g prefix as in
> gawk (OK this is not quite fair since GNU awk is always called
> gawk). Off hand, I don't know how many other ports depend on GNU
> sed, so changing then name at this point may not be a good idea.
>
> On my machines I use GNU sed as sed...
>
> On May 18, 2007, at 2:59 PM, N_Ox wrote:
>
>> Hello
>>
>> Something has been bothering me for a moment:
>> For consistency's sake, wouldn't be better to set --program-
>> prefix=g in gnused?
>> That's the program-prefix we can see in other GNU ports, e.g.
>> {core,diff,find}utils.
>>
>> Anyway, i've made some modifications to this port (mainly
>> concerning nls support)
>> and i will file a ticket about it soon.
>>
>> N_Ox.
>
> Marius
> --
> Marius Schamschula, Alabama A & M University, Department of Physics
>
> The Center for Hydrology Soil Climatology and Remote Sensing
> http://optics.physics.aamu.edu/ - http://www.physics.aamu.edu/
> http://wx.aamu.edu/ - http://www.aamu.edu/hscars/
>
>
>
More information about the macports-users
mailing list