From owner-svn-doc-all@FreeBSD.ORG Fri Oct 3 17:05:30 2014 Return-Path: Delivered-To: svn-doc-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3D15AED4; Fri, 3 Oct 2014 17:05:30 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 28EBB961; Fri, 3 Oct 2014 17:05:30 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s93H5Ulb074884; Fri, 3 Oct 2014 17:05:30 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s93H5UPu074883; Fri, 3 Oct 2014 17:05:30 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201410031705.s93H5UPu074883@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Fri, 3 Oct 2014 17:05:30 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r45713 - head/en_US.ISO8859-1/books/porters-handbook/special X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2014 17:05:30 -0000 Author: mat (ports committer) Date: Fri Oct 3 17:05:29 2014 New Revision: 45713 URL: https://svnweb.freebsd.org/changeset/doc/45713 Log: Document BUNDLE_LIBS. Differential Revision: https://reviews.freebsd.org/D887 Reviewed by: bcr, bapt Sponsored by: Absolight Modified: head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml Fri Oct 3 02:09:54 2014 (r45712) +++ head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml Fri Oct 3 17:05:29 2014 (r45713) @@ -222,6 +222,18 @@ Only use bundled libraries if the upstream has a good track record on security and using unbundled versions leads to overly complex patches. + + + In some very special cases, for example emulators, like + Wine, a port has to bundle + libraries, because they are in a different architecture, or + they have been modified to fit the software's use. In that + case, those libraries should not be exposed to other ports + for linking. Add BUNDLE_LIBS=yes to the + port's Makefile. This will tell + &man.pkg.8; to not compute provided libraries. Always ask + the &a.portmgr; before adding this to a port. +