Date: Fri, 5 Jun 2009 23:06:07 +0300 From: Vitaly Magerya <vmagerya@gmail.com> To: Eitan Adler <eitanadlerlist@gmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: Automatically generate symlinks for virtual categories. Message-ID: <accd96830906051306j3423727bgab9175207805041a@mail.gmail.com> In-Reply-To: <4A29683C.3030301@gmail.com> References: <4A28590D.101@gmail.com> <accd96830906050419k7ef2469tb1bb22aad4956fe0@mail.gmail.com> <accd96830906050556m660e63cw3c14edfb7f526796@mail.gmail.com> <4A2946F4.2010501@gmail.com> <accd96830906051038m47104ec1oa79c938949e5ca3e@mail.gmail.com> <4A29683C.3030301@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> No - you still have the issue of languages. For example japanese/xchat > and irc/xchat have the same name. This is the issue I was trying to avoid. When you do: $ auto-symlink-virtual -p /usr/ports -w /tmp/ports You will have this links: /tmp/ports/japanese/xchat-japanese /tmp/ports/irc/xchat-irc /tmp/ports/gnome/xchat-irc /tmp/ports/ipv6/xchat-irc So while the conflicts may require the latter two names to have "-irc", there's no need for irc/xchat-irc and japanese/xchat-japanese. In fact you would not have created those links, if you'd run $ auto-symlink-virtual -p /usr/ports -w /usr/ports Anyway, patch for yours [1] or mine [2] should make the issue obvious. There's also an issue with relative paths in -w option: after make -C is made, all relative paths are wrong, so currently you have to specify the full path. PS. In your latest file -n option is reversed because of the "if [ -z "dryrun" ];" tests in lines 45 and 51. [1] http://tx97.net/pub/patches/auto-symlink-virtual-r4-r5.diff [2] http://tx97.net/pub/patches/auto-symlink-virtual-2-fix.diff --- I forgot to CC ports@ when send this letter the first time. Sorry for the noise.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?accd96830906051306j3423727bgab9175207805041a>