[Bug 222722] print/pdflib: on powerpc64 it build looks for MacOS 9 headers and so fails to build

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Oct 1 18:16:24 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222722

            Bug ID: 222722
           Summary: print/pdflib: on powerpc64 it build looks for MacOS 9
                    headers and so fails to build
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ale at FreeBSD.org
          Reporter: markmi at dsl-only.net
             Flags: maintainer-feedback?(ale at FreeBSD.org)
          Assignee: ale at FreeBSD.org

[I tried to build math/gnuplot and it was
indirectly blocked by print/pdflib failing
to build for "missing" include files.]

The following avoids print/pdflib classifying the
context as an old MAC context (pre-MACOSX) when
building for powerpc64 (for example):

# more /usr/ports/print/pdflib/files/patch-libs_pdcore_pc__config.h
--- libs/pdcore/pc_config.h.orig        2012-06-06 11:58:58 UTC
+++ libs/pdcore/pc_config.h
@@ -179,9 +179,11 @@

 /* try to identify Mac OS 9 compilers */

+#if 0
 #if (defined macintosh || defined __POWERPC__ || defined __CFM68K__) && \
        !defined MAC && !defined MACOSX && !defined __BEOS__
 #define MAC
+#endif
 #endif

 /*

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list