Add an option to forbid downloads.
Idea and code-base from Don Elwell <don@manifoldlabs.com>, adapted by me.
/trunk/scripts/functions | 6 6 0 0 ++++++
/trunk/config/global/download.in | 18 18 0 0 ++++++++++++++++++
2 files changed, 24 insertions(+)
1 diff -durN duma_2_5_14.orig/Makefile duma_2_5_14/Makefile
2 --- duma_2_5_14.orig/Makefile 2008-03-13 00:54:10.000000000 +0100
3 +++ duma_2_5_14/Makefile 2008-06-17 10:28:45.000000000 +0200
17 createconf$(EXEPOSTFIX): createconf.o
18 - $(RMFORCE) createconf$(EXEPOSTFIX)
19 - $(CC) $(CFLAGS) $(DUMA_OPTIONS) createconf.o -o createconf$(EXEPOSTFIX)
20 + $(HOSTCC) $(HOSTCFLAGS) $(DUMA_OPTIONS) createconf.o -o createconf$(EXEPOSTFIX)
22 tstheap$(EXEPOSTFIX): libduma.a tstheap.o
23 - $(RMFORCE) tstheap$(EXEPOSTFIX)
25 # define rules how to build objects for createconf
28 - $(CC) $(CFLAGS) $(DUMA_OPTIONS) -c createconf.c -o $@
29 + $(HOSTCC) $(HOSTCFLAGS) $(DUMA_OPTIONS) -c createconf.c -o $@