[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Custom build lists
On Fri, Apr 05, 2002 at 05:54:29PM -0800, Jacob Meuser wrote:
> I put an sh script at http://www.jakemsr.com/openbsd/ports/ports_update
> that makes a SUBDIRLIST file from the ouput of pkg_info. It deals
> with FLAVORS and MULTI_PACKAGES reasonably well, but it could probably
> be more efficient.
>
You could simplify that script a great deal :)
If you look at the current pkg building process, you will notice that
we have been explicitly embedding some comments in the packing-list for
that specific purpose, e.g.,
@comment subdir=devel/m4 cdrom=yes ftp=yes
So you don't have to deduce the SUBDIRLIST entry from the package name,
you can simply grab it from pkg_info -f.