ports/134453: devel/apr: -pthread

Philip M. Gollucci pgollucciWFreeBSD.org at FreeBSD.org
Mon May 11 08:40:03 UTC 2009


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



More information about the freebsd-ports-bugs mailing list