Summary: | print/pdflib: under __POWERPC__ it's build looks for MacOS 9 headers and so fails to build | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Mark Millard <marklmi26-fbsd> | ||||
Component: | Individual Port(s) | Assignee: | Alex Dupre <ale> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | linimon | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(ale) |
||||
Version: | Latest | ||||||
Hardware: | powerpc | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Mark Millard
2017-10-01 18:16:23 UTC
Created attachment 186835 [details]
A pc_config.h patch to avoid powerpc misclassification
Avoid __POWERPC__ leading to needing old
MacOS 9 (pre-MacOSX) headers.
I should have mentioned that my powerpc64 context is based on system clang 5, no gcc 4.2.1 involved. I do not expect that makes any difference in the misclassification. But my testing context is not normal for powerpc64: important to know if anything odd did show up in observed behavior. A commit references this bug: Author: ale Date: Wed Oct 4 07:34:04 UTC 2017 New revision: 451181 URL: https://svnweb.freebsd.org/changeset/ports/451181 Log: Fix build on powerpc and strip binaries. PR: 222722 Submitted by: Mark Millard <markmi@dsl-only.net> Changes: head/print/pdflib/Makefile head/print/pdflib/files/patch-libs_pdcore_pc__config.h (In reply to commit-hook from comment #3) The commit comment makes no reference to removing the following from the Makefile, not mentioning why at all: .if ${ARCH} == "amd64" || ${ARCH} == "sparc64" CONFIGURE_ARGS+=--enable-64bit .endif (And why that older Makefile code omitted powerpc64 I do not know.) That flag doesn't do anything, it's a NOP on FreeBSD. |