Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Oct 2017 11:25:29 -0700
From:      Mark Millard <markmi@dsl-only.net>
To:        FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>, FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   lang/pdflib: I've submitted bugzilla 222722 with a patch for allowing lang/pdflib to build under __POWERPC__
Message-ID:  <0B97D367-F22F-43A9-BF96-A684B2C40ECA@dsl-only.net>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0B97D367-F22F-43A9-BF96-A684B2C40ECA>