diff options
Diffstat (limited to 'graphics/paintlib/Makefile')
-rw-r--r-- | graphics/paintlib/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/graphics/paintlib/Makefile b/graphics/paintlib/Makefile index 071a7a034218..d3f14e17150b 100644 --- a/graphics/paintlib/Makefile +++ b/graphics/paintlib/Makefile @@ -7,7 +7,7 @@ PORTNAME= paintlib PORTVERSION= 2.6.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics devel MASTER_SITES= http://www.paintlib.de/paintlib/ @@ -29,6 +29,14 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ MAN1= paintlib-config.1 +post-patch: +# Resolve name collision with jpeg-8 + ${REINPLACE_CMD} -e 's|jpeg_mem_dest|paintlib_jpeg_mem_dest|' \ + ${WRKSRC}/common/jmemdest.cpp \ + ${WRKSRC}/common/jmemdest.h \ + ${WRKSRC}/common/pljpegenc.cpp \ + ${WRKSRC}/doc/reference/html/jmemdest_8h-source.html + .include <bsd.port.pre.mk> .if ${OSVERSION} >= 900000 |