From owner-freebsd-ports@FreeBSD.ORG Fri Feb 2 15:00:38 2007 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7820316A405; Fri, 2 Feb 2007 15:00:38 +0000 (UTC) (envelope-from nork@FreeBSD.org) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.freebsd.org (Postfix) with ESMTP id 600A813C48D; Fri, 2 Feb 2007 15:00:30 +0000 (UTC) (envelope-from nork@FreeBSD.org) Received: from nadesico.ninth-nine.com (nadesico.ninth-nine.com [219.127.74.122]) by sakura.ninth-nine.com (8.13.8/8.13.8/NinthNine) with SMTP id l12EWBdb062538; Fri, 2 Feb 2007 23:32:11 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Fri, 2 Feb 2007 23:32:11 +0900 From: Norikatsu Shigemura To: stas@FreeBSD.org Message-Id: <20070202233211.a84a2dcc.nork@FreeBSD.org> X-Mailer: Sylpheed 2.4.0beta2 (GTK+ 2.10.9; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (sakura.ninth-nine.com [219.127.74.121]); Fri, 02 Feb 2007 23:32:11 +0900 (JST) Cc: ports@FreeBSD.org, Norikatsu Shigemura Subject: [ports/devel/boehm-gc] PTHREAD_LIBS clean X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 15:00:38 -0000 I found a problem to not use PTHREAD_LIBS. Please commit following patch. Index: Makefile =================================================================== RCS file: /home/pcvs/ports/devel/boehm-gc/Makefile,v retrieving revision 1.53 diff -u -r1.53 Makefile --- Makefile 1 Feb 2007 02:41:24 -0000 1.53 +++ Makefile 1 Feb 2007 08:57:05 -0000 @@ -31,10 +31,10 @@ CONFIGURE_ARGS+= --enable-threads=posix --enable-thread-local-alloc .if ${OSVERSION} < 502102 CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \ - LIBS="${LIBS} -lc_r" + LIBS="${LIBS} ${PTHREAD_LIBS:C/-pthread/-lc_r/}" .else CONFIGURE_ENV= CFLAGSS="${CFLAGS} ${PTHREAD_CFLAGS}" \ - LIBS="${LIBS} -lpthread" + LIBS="${LIBS} ${PTHREAD_LIBS:C/-pthread/-lpthread/}" .endif .if defined(WITH_PARALLEL_MARK) CONFIGURE_ARGS+= --enable-parallel-mark