Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#12230 closed defect (fixed)

PTHREAD_LIBS variable on freebsd

Reported by: afb@… Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts 1.5
Component: base Version:
Keywords: Cc:
Port:

Description

When building from a Ports Makefile PTHREAD_LIBS is set and all is well, but when building from the command-line directly this isn't always so. Make sure that it is autoconfigured (-lphtread) if missing...

Attachments (1)

macports-pthreadlibs.patch (579 bytes) - added by afb@… 17 years ago.
macports-pthreadlibs.patch

Download all attachments as: .zip

Change History (5)

Changed 17 years ago by afb@…

Attachment: macports-pthreadlibs.patch added

macports-pthreadlibs.patch

comment:1 Changed 17 years ago by landonf (Landon Fuller)

Resolution: fixed
Status: newclosed

The pthread macro was missing -- I've added it in r26710 and PTHREAD_LIBS should always be set now.

comment:2 Changed 17 years ago by afb@…

Thanks, much better than my hack.

comment:3 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Milestone: MacPorts 1.5

Will be in 1.5, setting milestone appropriately.

-jmpp

comment:4 Changed 17 years ago by nox@…

Priority: ExpectedNormal
Version: 1.5
Note: See TracTickets for help on using tickets.