From owner-svn-doc-all@FreeBSD.ORG Sun Dec 16 22:56:37 2012 Return-Path: Delivered-To: svn-doc-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2860450D; Sun, 16 Dec 2012 22:56:37 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id E6D198FC0C; Sun, 16 Dec 2012 22:56:36 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBGMuaSH066771; Sun, 16 Dec 2012 22:56:36 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBGMuaoM066770; Sun, 16 Dec 2012 22:56:36 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201212162256.qBGMuaoM066770@svn.freebsd.org> From: Eitan Adler Date: Sun, 16 Dec 2012 22:56:36 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r40394 - head/en_US.ISO8859-1/books/porters-handbook 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.14 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: Sun, 16 Dec 2012 22:56:37 -0000 Author: eadler Date: Sun Dec 16 22:56:36 2012 New Revision: 40394 URL: http://svnweb.freebsd.org/changeset/doc/40394 Log: Modernize the 12.11 Threading Libraries section of the PH Approved by: bcr (mentor) Modified: head/en_US.ISO8859-1/books/porters-handbook/book.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/book.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/book.xml Sun Dec 16 22:56:30 2012 (r40393) +++ head/en_US.ISO8859-1/books/porters-handbook/book.xml Sun Dec 16 22:56:36 2012 (r40394) @@ -16140,8 +16140,8 @@ exec %%LOCALBASE%%/bin/java -jar %%DATAD The threading library must be linked to the binaries using a special linker flag -pthread on &os;. If - a port insists on linking -lpthread or - -lc_r directly, patch it to use + a port insists on linking -lpthread + directly, patch it to use PTHREAD_LIBS variable provided by the ports framework. This variable usually has the value of -pthread, but on certain architectures and @@ -16153,7 +16153,7 @@ exec %%LOCALBASE%%/bin/java -jar %%DATAD If building the port errors out with unrecognized option '-pthread' when setting PTHREAD_LIBS, it may be desirable - to use gcc as linker by setting + to use cc as linker by setting CONFIGURE_ENV to LD=${CC}. The -pthread option is not supported by