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

Alexander Leidinger Alexander at Leidinger.net
Thu Mar 16 17:16:29 UTC 2006


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.

Bye,
Alexander.

-- 
                Where do you think you're going today?
http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7
WL http://www.amazon.de/exec/obidos/registry/1FZ4DTHQE9PQ8/ref=wl_em_to/


More information about the freebsd-emulation mailing list