From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Feb 10 02:20:18 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F8EE16A4CE for ; Tue, 10 Feb 2004 02:20:18 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 326FE43D31 for ; Tue, 10 Feb 2004 02:20:18 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i1AAKIbv021571 for ; Tue, 10 Feb 2004 02:20:18 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i1AAKIND021570; Tue, 10 Feb 2004 02:20:18 -0800 (PST) (envelope-from gnats) Resent-Date: Tue, 10 Feb 2004 02:20:18 -0800 (PST) Resent-Message-Id: <200402101020.i1AAKIND021570@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, leafy Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 75C5A16A4CE for ; Tue, 10 Feb 2004 02:15:53 -0800 (PST) Received: from seed.net.tw (sn15.seed.net.tw [139.175.54.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DF7C43D1D for ; Tue, 10 Feb 2004 02:15:53 -0800 (PST) (envelope-from leafy@leafy.idv.tw) Received: from [61.59.121.140] (port=49808 helo=chihiro.leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.23:1) id 1AqUvn-0009Sh-Py for FreeBSD-gnats-submit@freebsd.org; Tue, 10 Feb 2004 18:15:51 +0800 Received: from localhost (localhost [127.0.0.1]) by chihiro.leafy.idv.tw (Postfix) with ESMTP id 0F584568 for ; Tue, 10 Feb 2004 18:15:51 +0800 (CST) Received: from chihiro.leafy.idv.tw ([127.0.0.1]) by localhost (chihiro.leafy.idv.tw [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 87053-04 for ; Tue, 10 Feb 2004 18:15:50 +0800 (CST) Received: by chihiro.leafy.idv.tw (Postfix, from userid 1000) id ACA8454E; Tue, 10 Feb 2004 18:15:50 +0800 (CST) Message-Id: <20040210101550.ACA8454E@chihiro.leafy.idv.tw> Date: Tue, 10 Feb 2004 18:15:50 +0800 (CST) From: leafy To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/62625: kdemultimedia depends on -lc_r X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: leafy List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2004 10:20:18 -0000 >Number: 62625 >Category: ports >Synopsis: kdemultimedia depends on -lc_r >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Feb 10 02:20:17 PST 2004 >Closed-Date: >Last-Modified: >Originator: leafy >Release: FreeBSD 5.2-CURRENT i386 >Organization: personal >Environment: System: FreeBSD chihiro.leafy.idv.tw 5.2-CURRENT FreeBSD 5.2-CURRENT #5: Mon Feb 9 08:59:20 CST 2004 leafy@chihiro.leafy.idv.tw:/usr/obj/usr/src/sys/CHIHIRO i386 >Description: kdemultimedia has -lc_r hardcoded in configure >How-To-Repeat: ldd /usr/local/lib/libmpeg-0.3.0.so >Fix: --- configure.orig Tue Feb 10 17:44:37 2004 +++ configure Tue Feb 10 17:57:58 2004 @@ -35376,13 +35376,13 @@ FreeBSD) OS_TYPE="BSD" - echo "$as_me:$LINENO: checking for pthread_create in -lc_r" >&5 -echo $ECHO_N "checking for pthread_create in -lc_r... $ECHO_C" >&6 + echo "$as_me:$LINENO: checking for pthread_create in $PTHREAD_LIBS" >&5 +echo $ECHO_N "checking for pthread_create in $PTHREAD_LIBS... $ECHO_C" >&6 if test "${ac_cv_lib_c_r_pthread_create+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lc_r $LIBS" +LIBS="$PTHREAD_LIBS $LIBS" cat >conftest.$ac_ext <<_ACEOF /* #line $LINENO "configure" */ /* confdefs.h. */ @@ -35431,7 +35431,7 @@ echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_create" >&5 echo "${ECHO_T}$ac_cv_lib_c_r_pthread_create" >&6 if test $ac_cv_lib_c_r_pthread_create = yes; then - LIBPTHREAD="-lc_r" + LIBPTHREAD="$PTHREAD_LIBS" fi cat >>confdefs.h <<\_ACEOF >Release-Note: >Audit-Trail: >Unformatted: