New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #12230 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

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

macports-pthreadlibs.patch (0.6 KB) - added by afb@… 2 years ago.
macports-pthreadlibs.patch

Change History

Changed 2 years ago by afb@…

macports-pthreadlibs.patch

Changed 2 years ago by landonf@…

  • status changed from new to closed
  • resolution set to fixed

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

Changed 2 years ago by afb@…

Thanks, much better than my hack.

Changed 2 years ago by jmpp@…

  • milestone set to MacPorts 1.5

Will be in 1.5, setting milestone appropriately.

-jmpp

Changed 2 years ago by nox@…

  • priority changed from Expected to Normal
  • version 1.5 deleted
Note: See TracTickets for help on using tickets.