linux-* pkg-plist errors

Kirill Ponomarew krion at voodoo.oberon.net
Sun Mar 27 01:55:49 PST 2005


On Sun, Mar 27, 2005 at 11:51:42AM +0200, Alexander Leidinger wrote:
> Those fixes are independent from the USE_LINUX issues. Do you want to
> see patches for those too?
> 
> > > On a related issue: There was a commit which removed USE_LINUX=yes from
> > > a lot of ports (>100) to be able to use alternative linux_base ports.
> > > This results in the possibility to use e.g. linux_base-rh-9, but it also
> > > discards dependency information. I like to backout this commit and solve
> > > the feature request by checking for a OVERRIDE_DEFAULT_LINUX_BASE knob
> > > in the USE_LINUX case in bsd.port.mk. Do I get the approval for this too?
> > 
> > Please show us the patches first.
> 
> Here's the bsd.port.mk part. I've tested it with "make -V USE_LINUX
> -V RUN_DEPENDS OVERRIDE_DEFAULT_LINUX_BASE=rh-9" in lang/icc (cut&paste,
> discards tabs):
> ---snip---
> Index: Mk/bsd.port.mk
> ===================================================================
> RCS file: /big/FreeBSD-CVS/ports/Mk/bsd.port.mk,v
> retrieving revision 1.511
> diff -u -u -r1.511 bsd.port.mk
> --- Mk/bsd.port.mk      17 Mar 2005 23:22:07 -0000      1.511
> +++ Mk/bsd.port.mk      27 Mar 2005 09:36:48 -0000
> @@ -1500,6 +1500,11 @@
>  .endif
>  
>  .if defined(USE_LINUX)
> +.      if defined(OVERRIDE_DEFAULT_LINUX_BASE)
> +.              if ${USE_LINUX} == yes
> +USE_LINUX=     ${OVERRIDE_DEFAULT_LINUX_BASE}
> +.              endif
> +.      endif
>  .      if exists(${PORTSDIR}/emulators/linux_base-${USE_LINUX})
>  RUN_DEPENDS+=  ${LINUXBASE}/bin/sh:${PORTSDIR}/emulators/linux_base-${USE_LINUX}
>  .      else

Uuuh, I think you know that we don't commit bsd.port.mk without
running it on cluster first.  I think it can be delayed and tested
after the freeze.

-Kirill


More information about the freebsd-emulation mailing list