Improving /usr/ports/Makefile ?

Aleksandar Simic zen13038 at zen.co.uk
Sun May 2 01:58:03 PDT 2004


On Sun, May 02, 2004 at 02:10:03AM +0200, Oliver Eikemeier wrote:
> Aleksandar Simic wrote:
> 
> >Hello,
> >
> >from time to time you see people asking on questions why is it that
> >their 'make index' is failing after they cvsup-ed all but excluded
> >some region specific ports directories, most commonly:
> >
> >arabic, chinese, hebrew, hungarian, japanese, korean, polish,
> >portuguese, russian, ukrainian, vietnamese
> >
> >Could a check be added to see if the above directories, or any other
> >'undesirable' ones are non existant and if they are, that they should
> >be ignored ? 
> >
> >Something like this:
> >
> >
> >*** /usr/ports/Makefile	Sat May  1 14:20:36 2004
> >--- /tmp/Makefile	Sat May  1 09:27:44 2004
> >***************
> >*** 1,66 ****
> >--- 1,186 ----
> >  # $FreeBSD: ports/Makefile,v 1.82 2004/04/02 07:25:23 kris Exp $
> >  #
> >  
> >+ .if exists (${.CURDIR}/accessibility)
> >  SUBDIR += accessibility
> >+ .endif
> 
> ... it's not that easy, because ports from one category need ports from
> another, so the INDEx generation fails anyway. I tested a script that
> calculated complete subsets, but they were not very useful.

OK, but how about doing this check just for the non-english language
ports, already listed above ?

'Cos, as far as I can tell they take ports from the 'main' ports and
just add localisation.


Aleksandar


More information about the freebsd-ports mailing list