On 2020/05/02 11:39, Charlene Wendling wrote:
> > > With the below diff it builds on macppc [0]. I've updated HOMEPAGE,
> > > the distfile is not fetchable from upstream, it's not due to that
> > > change.
> > 
> > Well in that case you might as well zap MASTER_SITES.

That works as long as the default MASTER_SITES doesn't have to fetch files
from scratch ;) If this is staying long term then it should be mirrored
but let's figure that out after release.

> I did that in the following diff, i'll wait a bit before committing as
> there were concerns about distribution rights.

Thanks jca for figuring out which license we're able to distribute this under
(Aladdin Free Public License V8). Please add a license marker comment then
it's ok with me.

> > > Comments/feedback are welcome,
> > 
> > ok jca@
> > 
> > > Charlène.
> > >
> > >
> > > [0] https://bin.charlenew.xyz/macppc/paths/print/pdflib.log
> > >
> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/print/pdflib/Makefile,v
> retrieving revision 1.29
> diff -u -p -u -p -r1.29 Makefile
> --- Makefile  14 Jul 2019 00:39:39 -0000      1.29
> +++ Makefile  2 May 2020 09:12:42 -0000
> @@ -3,16 +3,14 @@
>  COMMENT=             C library to produce PDF files
>  
>  DISTNAME=            pdflib-4.0.3
> -REVISION =           5
> +REVISION =           6
>  CATEGORIES=          print
>  SHARED_LIBS=         pdf     2.3
>  
> -HOMEPAGE=            http://www.pdflib.com/pdflib/
> +HOMEPAGE=            https://www.pdflib.com/pdflib/
>  
>  PERMIT_PACKAGE=      Yes
>  
> -MASTER_SITES=                http://www.pdflib.com/pdflib/download/
> -
>  WANTLIB=             m z jpeg png>=2 tiff>=35
>  
>  LIB_DEPENDS=         graphics/png \
> @@ -38,6 +36,12 @@ CONFIGURE_ENV=             LDFLAGS="-L${LOCALBASE}/
>  MAKE_ENV=            ${CONFIGURE_ENV}
>  
>  TEST_TARGET=         test
> +
> +# In various places in the code, it's assumed that the __POWERPC__ define
> +# is Mac OS 9 specific, but our clang defines it as well, breaking the build.
> +.if ${MACHINE_ARCH:Mpowerpc}
> +CFLAGS +=            -U__POWERPC__
> +.endif
>  
>  post-install:
>       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pdflib
> 

Reply via email to