Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Feb 2004 18:15:50 +0800 (CST)
From:      leafy <leafy@leafy.idv.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/62625: kdemultimedia depends on -lc_r
Message-ID:  <20040210101550.ACA8454E@chihiro.leafy.idv.tw>
Resent-Message-ID: <200402101020.i1AAKIND021570@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040210101550.ACA8454E>