Bug 239153

Summary: adapt textproc/libxml2 for clang-on-powerpc
Product: Ports & Packages Reporter: Mark Linimon <linimon>
Component: Individual Port(s)Assignee: Mark Linimon <linimon>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (gnome)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch to textproc/libxml2/Makefile none

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 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