[patch] for bsd.linux-rpm.mk (add auto sources fetching)

Boris Samorodov bsam at ipt.ru
Thu Mar 16 20:26:38 UTC 2006


On Thu, 16 Mar 2006 18:16:25 +0100 Alexander Leidinger wrote:
> Am Thu, 16 Mar 2006 18:25:23 +0300
> schrieb Boris Samorodov <bsam at ipt.ru>:

> > +.  if defined(PACKAGE_BUILDING) && ${AUTO_LINUX_SRC} == "yes"
> > +DISTFILES+=		${DISTNAME}${SRC_SUFX}
> > +MASTER_SITE_SUBDIR+=	3/SRPMS
> > +ALWAYS_KEEP_DISTFILES=	yes
> >  .  endif

> You are assuming this will only be used for some specific directory
> layouts without the possibility to override this. I suggest to
> introduce an overridable variable... maybe MASTER_SITE_SRC_SUBDIR or
> whatever which will be added to MASTER_SITE_SUBDIR then. 

> Maybe you can change the patch to have a look at a SRC_DISTFILES
> variable and add this content to the DISTFILES in the PACKAGE_BUILDING
> case instead of hardcoding one file.

Agreed to both. New patch is attached.

If auto fetching go well, then variable AUTO_LINUX_SRC may be
deletted. But for now it may be used if something go wrong with auto
fetching.


WBR
-- 
Boris B. Samorodov, Research Engineer
InPharmTech Co,     http://www.ipt.ru
Telephone & Internet Service Provider
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: text/x-patch
Size: 1340 bytes
Desc: patch for bsd.linux-rpm.mk
Url : http://lists.freebsd.org/pipermail/freebsd-emulation/attachments/20060316/c7f679d5/patch.bin


More information about the freebsd-emulation mailing list