Bug 239153 - adapt textproc/libxml2 for clang-on-powerpc
Summary: adapt textproc/libxml2 for clang-on-powerpc
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mark Linimon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-12 02:42 UTC by Mark Linimon
Modified: 2019-10-04 22:25 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (gnome)


Attachments
patch to textproc/libxml2/Makefile (1.12 KB, patch)
2019-07-12 02:42 UTC, Mark Linimon
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Linimon freebsd_committer freebsd_triage 2019-07-12 02:42:13 UTC
Created attachment 205709 [details]
patch to textproc/libxml2/Makefile

Prepare for powerpc-on-clang by deleting hard-coded tests for libstdc++.so
as a stand-in for "are we running on gcc".

For people already testing powerpc on clang, it is possible that they
already have both compilers in base.  Thus, the assumption that "gcc is
in base" (e.g.  libstdc++.so exists) always means "force use of GCC" is
already broken.  It will be for everyone on -CURRENT once the switch is
made.

Tested on both amd64 and powerpc64.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-10-04 22:25:38 UTC
A commit references this bug:

Author: linimon
Date: Fri Oct  4 22:24:37 UTC 2019
New revision: 513791
URL: https://svnweb.freebsd.org/changeset/ports/513791

Log:
  Prepare for powerpc-on-clang by deleting hard-coded tests for libstdc++.so
  as a stand-in for "are we running on gcc".

  For people already testing powerpc on clang, it is possible that they
  already have both compilers in base.  Thus, the assumption that "gcc is
  in base" (e.g.  libstdc++.so exists) always means "force use of GCC" is
  already broken.  It will be for everyone on -CURRENT once the switch is
  made.

  Tested on both amd64 and powerpc64.

  PR:		239153
  Approved by:	gnome (maintainer-timeout, > 1 month)

Changes:
  head/textproc/libxml2/Makefile