Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Oct 2017 18:16:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 222722] print/pdflib: on powerpc64 it build looks for MacOS 9 headers and so fails to build
Message-ID:  <bug-222722-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222722

            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@FreeBSD.org
          Reporter: markmi@dsl-only.net
             Flags: maintainer-feedback?(ale@FreeBSD.org)
          Assignee: ale@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

 /*

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222722-13>