From owner-cvs-all@FreeBSD.ORG Fri Aug 15 15:35:56 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A0E9C37B401; Fri, 15 Aug 2003 15:35:56 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49CEF43FD7; Fri, 15 Aug 2003 15:35:56 -0700 (PDT) (envelope-from maho@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h7FMZu0U096365; Fri, 15 Aug 2003 15:35:56 -0700 (PDT) (envelope-from maho@repoman.freebsd.org) Received: (from maho@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h7FMZtX8096364; Fri, 15 Aug 2003 15:35:55 -0700 (PDT) Message-Id: <200308152235.h7FMZtX8096364@repoman.freebsd.org> From: Maho Nakata Date: Fri, 15 Aug 2003 15:35:55 -0700 (PDT) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: ports/editors/openoffice-devel/files patch-python-makefile.mk X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2003 22:35:57 -0000 maho 2003/08/15 15:35:55 PDT FreeBSD ports repository Added files: editors/openoffice-devel/files patch-python-makefile.mk Log: The makefile.mk uses a ld to link the libraries, but ld fails to link with -pthread. The correct sollution is to use $(LINK) which points to the used gcc compiler. Unfortunately gcc doesn't understand --whole-archive and --no-whole-archive. You have to use -Wl,-whole-archive and -Wl,-no-whole-archive instead. The following patch does this for FreeBSD, but maybe this should also be done for the generic UNX case. See http://www.openoffice.org/issues/show_bug.cgi?id=18064 for details. Obtained from Volker Quetschke Revision Changes Path 1.1 +11 -0 ports/editors/openoffice-devel/files/patch-python-makefile.mk (new)