Date: Wed, 04 Aug 2010 20:40:34 +0400 From: Anonymous <swell.k@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/149286: [patch] emulators/virtualbox-ose: don't advise to use ldconifg(8) directly Message-ID: <8639uul4al.fsf@gmail.com> Resent-Message-ID: <201008041650.o74Go63h069683@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 149286 >Category: ports >Synopsis: [patch] emulators/virtualbox-ose: don't advise to use ldconifg(8) directly >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 04 16:50:06 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Anonymous >Release: FreeBSD 9.0-CURRENT amd64 >Organization: >Environment: >Description: When using ldconfig(8) it's easy to forget to prepend -32 and accidentally add /usr/lib32 for 64bit library search path. ex. http://forums.freebsd.org/showthread.php?t=16658 >How-To-Repeat: >Fix: --- a.diff begins here --- Index: emulators/virtualbox-ose/Makefile =================================================================== RCS file: /a/.cvsup/ports/emulators/virtualbox-ose/Makefile,v retrieving revision 1.25 diff -u -p -r1.25 Makefile --- emulators/virtualbox-ose/Makefile 29 Jun 2010 19:01:08 -0000 1.25 +++ emulators/virtualbox-ose/Makefile 4 Aug 2010 16:31:57 -0000 @@ -177,7 +177,7 @@ pre-everything:: .if ${ARCH} == "amd64" .if !exists(/usr/lib32) @${ECHO} 'Requires 32-bit libraries installed under /usr/lib32.' - @${ECHO} 'Do: cd /usr/src; make build32 install32; ldconfig -v -m -R /usr/lib32' + @${ECHO} 'Do: cd /usr/src; make build32 install32; /etc/rc.d/ldconfig restart' @${FALSE} .endif .endif --- a.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8639uul4al.fsf>