[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Suggestion about pkg() function

From: c.
Subject: Re: Suggestion about pkg() function
Date: Sun, 28 Nov 2010 10:20:02 +0100

On 26 Nov 2010, at 19:32, José Luis García Pallero wrote:

> Hello,
> I think that it would be interesting to add an option to pkg()
> function in order to pass arguments to the Makefile for compiling a
> package. For example, if in the makefile the order for compiling a c
> source code is $(CC) -Wall source.c -o source.o, and CC environment
> variable point to the sun compiler but the options in the compilation
> order are for the gcc compiler expecting that gcc is the default in
> CC, it produces errors. The option could be named, for example,
> 'makevars': pkg install -makevars='CC=gcc CFLAGS=-O3' package.tar.gz
> Not all packages for Octave have a configure script that can create
> the Makefile and not all people knows autotools
> Thanks

I find this suggestion reasonable, do you think you could prepare a chageset 
along the lines you suggest?
BTW I think this matter would be better discussed on the developers mailing 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]