Date: Tue, 05 Sep 2000 21:08:16 -0700 From: Marcel Moolenaar <marcel@cup.hp.com> To: Satoshi - Ports Wraith - Asami <asami@FreeBSD.ORG> Cc: obrien@FreeBSD.ORG, Akinori -Aki- MUSHA <knu@idaemons.org>, ports@FreeBSD.ORG, marcel@FreeBSD.ORG Subject: Re: USE_LINUX? Message-ID: <39B5C330.6C1A9CE4@cup.hp.com> References: <200006070819.BAA14744@silvia.hip.berkeley.edu> <86u2f5zy3g.wl@localhost.local.idaemons.org> <vqczooxn561.fsf@silvia.hip.berkeley.edu> <20000607101234.A80031@dragon.nuxi.com> <vqcg0ne9spn.fsf@silvia.hip.berkeley.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Satoshi - Ports Wraith - Asami wrote: > > Ok, so what about the following? USE_LINUX_PREFIX will set USE_LINUX > and also change the PREFIX. USE_LINUX will only add the dependencies. > LINUXBASE is defined as /compat/linux. We have a border case: linux_base itself. We obviously want that port to use USE_LINUX_PREFIX as well, but don't want the automatic dependency list (not all of it) > Also, somebody more versed in Linux compat mode needs to check if the > dependencies are sufficient and also cook me up a nice Not all ports depend on ${LINUXBASE}/lib/libc.so.6. Some depend on ${LINUXBASE}/usr/i486-linux-libc5/lib/libc.so.5. This is probably academic because both are present and we basicly only need to trigger the automatic installation of either linux_base or linux_devtools depending on the ports needs. Having a variable like USE_LINUX_PREFIX is good, but I don't think we want to attach dependencies to that as well, unless we can disable it in linux_base without too much hackery. > /etc/mtree/BSD.linux.dist. (Marcel? :) As if I don't have anything else to do :-) Why exactly do we need a BSD.linux.dist? All the logic is in the rpms installed by linux_base (and linux_devtools). Maintaining a seperate BSD.linux.dist means that we're duplicating information and thus that we're probably out of sync with the next upgrade of either of these ports. > +.if defined(USE_LINUX) > +BUILD_DEPENDS= ${LINUXBASE}/sbin/ldconfig:${PORTSDIR}/emulators/linux_base > +RUN_DEPENDS= ${LINUXBASE}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base > +.endif Setting RUN_DEPENDS should be harmless WRT the linux_base port. It's BUILD_DEPENDS that's causing problems. Do we have an INSTALL_DEPENDS? -- Marcel Moolenaar mail: marcel@cup.hp.com / marcel@FreeBSD.org tel: (408) 447-4222 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39B5C330.6C1A9CE4>