Re: Changes i had to make so far:
Adam Sampson <[email protected]> Mon, 23 Jan 2006 12:32:05 +0000
| Newsgroups | gmane.linux.bbc.devel |
|---|---|
| Organization | Things I did not know at first I learned by doing twice. |
| Message-ID | <[email protected]> |
Sokar Someone <[email protected]> writes: > I had to change the following: [...] > changes MASTER_SITES for nasm to http://kent.dl.sourceforge.net/nasm/ You might like to steal what I've done for GARstow's version of GAR, since that makes it rather easier to deal with SourceForge downloads. I've added a MASTER_SUBDIR variable that gets appended to MASTER_SITES (simplifying a bit since I've made other changes): MASTER_SUBDIR ?= MASTER_DIRS = $(addsuffix $(MASTER_SUBDIR),$(MASTER_SITES)) DISTFILE_URLS = $(foreach DIR,$(FILE_SITES) $(MASTER_DIRS),$(addprefix $(DIR),$(DISTFILES))) I've then got a bunch of definitions like this in gar.conf.mk: MASTER_SOURCEFORGE = \ http://kent.dl.sourceforge.net/sourceforge/ \ http://osdn.dl.sourceforge.net/sourceforge/ \ http://belnet.dl.sourceforge.net/sourceforge/ \ http://download.sourceforge.net/sourceforge/ And a port which uses Sourceforge does something like this: MASTER_SITES = $(MASTER_SOURCEFORGE) MASTER_SUBDIR = gaim/ The original idea came from FreeBSD's ports, I think. -- Adam Sampson <[email protected]> <http://offog.org/>