[Lunar-commits] CVS: theedge/var/lib/lunar/functions build.lunar, 1.20, 1.21

Steven Michalske hardkrash at lunar-linux.org
Tue Oct 12 15:37:16 UTC 2004


THANK YOU!!! this rocks :-)


On Tuesday 12 October 2004 10:53 am, Auke Kok wrote:
> Update of /var/cvs/lunar/theedge/var/lib/lunar/functions
> In directory
> espresso.foo-projects.org:/tmp/cvs-serv6678/var/lib/lunar/functions
>
> Modified Files:
>  build.lunar
> Log Message:
> Adding '--opts' flag that allows you to add OPTS flags on the fly when
> compiling a module: use as follows:
>
> lin --opts '--enable-foo --enable-bar' $MODULE
>
> to wipe the OPTS use 'lin -r $MODULE' as normal.
>
>
> Index: build.lunar
> ===================================================================
> RCS file: /var/cvs/lunar/theedge/var/lib/lunar/functions/build.lunar,v
> retrieving revision 1.20
> retrieving revision 1.21
> diff -u -d -r1.20 -r1.21
> --- build.lunar 24 Mar 2004 12:33:53 -0000 1.20
> +++ build.lunar 12 Oct 2004 14:53:53 -0000 1.21
> @@ -321,6 +321,12 @@
>      fi
>    fi
>    grep -q "^"$MODULE"\$" $TEMP_PREPAREDDEPS 2>/dev/null && return 0
> +
> +  # add custom passed OPTS before retreiving them
> +  if [ -n "$PASS_OPTS" ] ; then
> +    OPTS="$(get_module_config OPTS) $PASS_OPTS"
> +    set_module_config OPTS "$OPTS"
> +  fi
>    run_module_file $MODULE CONFIGURE
>  }
>
>
> _______________________________________________
> Lunar-commits mailing list
> Lunar-commits at lunar-linux.org
> http://lunar-linux.org/mailman/listinfo/lunar-commits
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lunar-linux.org/pipermail/lunar/attachments/20041012/16854e90/attachment.bin


More information about the Lunar mailing list