[Top][All Lists]

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

Suggestion about pkg() function

From: José Luis García Pallero
Subject: Suggestion about pkg() function
Date: Fri, 26 Nov 2010 19:32:10 +0100

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


José Luis García Pallero
/ / \
Use Debian GNU/Linux and enjoy!

reply via email to

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