Bug 239153 - adapt textproc/libxml2 for clang-on-powerpc
Summary: adapt textproc/libxml2 for clang-on-powerpc
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-gnome mailing list
Depends on:
Reported: 2019-07-12 02:42 UTC by Mark Linimon
Modified: 2019-07-12 02:42 UTC (History)
0 users

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

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

Tested on both amd64 and powerpc64.