Bug 138942 - textproc/libxml2: --with-threads (w/o argument) broken upstream
Summary: textproc/libxml2: --with-threads (w/o argument) broken upstream
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-18 18:00 UTC by andrew.w.nosenko
Modified: 2009-09-19 18:00 UTC (History)
0 users

See Also:


Attachments
file.diff (609 bytes, patch)
2009-09-18 18:00 UTC, andrew.w.nosenko
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description andrew.w.nosenko 2009-09-18 18:00:04 UTC
libxml2-2.7.4 has broken handling of --with-threads (without argument) configure option as it used in textproc/libxml2 Makefile.

As consequence, the WITH_THREADS_BROKEN=yes knob has no desired effect.

Fix: Solutions:

1. either use in the Makefile
   --with-threads=pthread
instead of current plain --with-threads (w/o arguments)

or

2. use attached patch around 'configure'.  It essencially repeates the one sent upstream, but upstream's patch created around 'configure.in'


Patch attached with submission follows:
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2009-09-18 21:33:27 UTC
Responsible Changed
From-To: freebsd-bugs->gnome

make this a ports PR and assign.
Comment 2 Joe Marcus Clarke freebsd_committer freebsd_triage 2009-09-19 17:58:14 UTC
State Changed
From-To: open->closed

Makefile patch committed, thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2009-09-19 17:58:22 UTC
marcus      2009-09-19 16:58:09 UTC

  FreeBSD ports repository

  Modified files:
    textproc/libxml2     Makefile 
  Log:
  Fix thread support.
  
  PR:             138942
  Submitted by:   andrew.w.nosenko@gmail.com
  Feature safe:   yes
  
  Revision  Changes    Path
  1.159     +1 -1      ports/textproc/libxml2/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"