Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 May 2009 08:36:54 GMT
From:      "Philip M. Gollucci" <pgollucciWFreeBSD.org@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        bf2006a@yahoo.com
Subject:   ports/134453: devel/apr: -pthread
Message-ID:  <200905110836.n4B8asqc080964@freefall.freebsd.org>
Resent-Message-ID: <200905110840.n4B8e21X081204@freefall.freebsd.org>

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

>Number:         134453
>Category:       ports
>Synopsis:       devel/apr: -pthread
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 11 08:40:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Philip M. Gollucci
>Release:        FreeBSD 7.1-PRERELEASE i386
>Organization:
RideCharge Inc.
>Environment:
>Description:
Shouldn't these references in the devel/apr port source to
-lpthread be changed to -pthread?:


./work/apr-1.3.3/build/apr_hints.m4.orig:170:          apr_cv_pthreads_lib="-lpthread"
./work/apr-1.3.3/build/apr_threads.m4:155:  for lib in -lpthread -lpthreads -lc_r; do
./work/apr-1.3.3/build/apr_hints.m4.bak:166:          apr_cv_pthreads_lib="-lpthread"
./work/apr-1.3.3/build/apr_hints.m4:166:          apr_cv_pthreads_lib="-lpthread"
./work/apr-1.3.3/configure:5051:          apr_cv_pthreads_lib="-lpthread"
./work/apr-1.3.3/configure:27153:  for lib in -lpthread -lpthreads -lc_r; do
./work/apr-1.3.3/configure:27713:  for lib in -lpthread -lpthreads -lc_r; do
./work/apr-util-1.3.4/build/apu-conf.m4:263:      APU_FIND_LDAPLIB("ldap", "-ldl -lpthread")
./work/apr-util-1.3.4/build/apu-conf.m4:268:      APU_FIND_LDAPLIB($LIBLDAP, "-ldl -lpthread")
./work/apr-util-1.3.4/configure:10204:    extralib="-ldl -lpthread"
./work/apr-util-1.3.4/configure:12393:    extralib="-ldl -lpthread"

Or, more properly, to ${PTHREAD_LIBS} in ports, which I think
amounts to the same thing on all recent versions of FreeBSD.

If the port really depends on some un-FreeBSD-like pthreads behavior, then I guess we should point it at devel/pth, at least after they sort out the namespace problems with that port on 8-CURRENT.

b.

.... move private e-mail to pr so I don't forget

>How-To-Repeat:
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



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