Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jul 2001 23:19:04 -0700 (PDT)
From:      mikem <mike_makonnen@yahoo.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/29320: [PATCH] PTHREAD_LIBS defenition in /usr/ports/Mk/bsd.port.mk is wrong
Message-ID:  <200107300619.f6U6J4E14839@blackbox.pacbell.net>

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

>Number:         29320
>Category:       ports
>Synopsis:       [PATCH] PTHREAD_LIBS defenition in /usr/ports/Mk/bsd.port.mk is wrong
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 29 23:20:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     mikem
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD blackbox.pacbell.net 4.3-STABLE FreeBSD 4.3-STABLE #2: Mon Jun 25 08:35:49 PDT 2001 root@blackbox.pacbell.net:/usr/obj/src/stable/src/sys/BLACKBOX i386


	
>Description:
I ran accross this while I was trying to make audio/autozen. It requires the 
pthread library, but it wouldn't build. It turns out the culprit is /usr/ports/Mk/bsd.port.mk. The pthreads library is incorrectly specified. PTHREADS_LIB is defined as "-pthread" when it should be "-lpthread". 
	
>How-To-Repeat:
Try to build any port that requires pthreads (audio/autozen for example)
	
>Fix:
PTHREAD_LIBS should be defined as: PTHREAD_LIBS = "-lpthread" in ${PORTS_PREFIX}/Mk/bsd.port.mk
	
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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