Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Aug 2012 12:07:32 +0200 (CEST)
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        freebsd-ports@FreeBSD.ORG
Subject:   Re: Regression in PREFIX handling in packages
Message-ID:  <201208311007.q7VA7WrN066173@lurza.secnetix.de>

next in thread | raw e-mail | index | archive | help
I think this might be related to this thread, so I'm
posting it as a follow-up ...

On some FreeBSD 8.x systems, I get the following error:

===>  Deinstalling for security/ca_root_nss
readlink: illegal option -- f
usage: readlink [-n] [file ...]

It seems bsd.port.mk is trying to use /usr/bin/readlink
with the -f option when checking the PREFIX, but this
option isn't supported on all 8.x systems.

Wouldn't it make more sense to use /bin/realpath instead
of /usr/bin/readlink -f?  There's no reason to break
older system.

Best regards
   Oliver


-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"File names are infinite in length, where infinity is set to 255 characters."
        -- Peter Collinson, "The Unix File System"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208311007.q7VA7WrN066173>