lang/pdflib: I've submitted bugzilla 222722 with a patch for allowing lang/pdflib to build under __POWERPC__
Mark Millard
markmi at dsl-only.net
Sun Oct 1 18:25:33 UTC 2017
I wrote in bugziila 222722:
> [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
>
> /*
===
Mark Millard
markmi at dsl-only.net
More information about the freebsd-ppc
mailing list