tcl or portfile keyword for alias

Bradley Giesbrecht brad at pixilla.com
Mon Feb 9 20:07:11 PST 2009


Yes, I could use reinplace.

But unless I don't know how reinplace might effect other process I  
dont think reinplace would do anything my patch is not doing.

reinplace s|something_not_in_my_patch|with_something_else|g

//brad

On Feb 9, 2009, at 12:24 PM, Jeremy Lavergne wrote:

> Can you use reinplace for this?
>
> reinplace s|FIND|REPLACE|[g]
> it's driven by sed...
>
> On Feb 9, 2009, at 3:21 PM, Bradley Giesbrecht wrote:
>
> Does anyone know a simple way to env alias a command like  
> mysql_config=/opt/local/bin/mysql_config5?
>
> I have a lib I'm porting "libzdb" that uses "mysql_config --libs  
> $LDFLAGS".
>
> I'm trying to find a way to make this build without patching.
>
> Thanks,
>
> Brad
>



More information about the macports-dev mailing list