1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- fix build for png-1.4.1

This commit is contained in:
Dirk Meyer 2010-03-30 11:50:29 +00:00
parent 53bd481989
commit f003409da8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=251808

View File

@ -54,6 +54,12 @@ PLIST_SUB+= OGRE="@comment "
BROKEN= Does not compile
.endif
post-patch:
@${REINPLACE_CMD} -e 's|png_infopp_NULL|NULL|g' -e 's|int_p_NULL|NULL|g' \
-e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \
${WRKSRC}/src/GIL/extension/io/png_dynamic_io.hpp \
${WRKSRC}/src/GIL/extension/io/png_io_private.hpp
post-build:
@${REINPLACE_CMD} -Ee 's,^(prefix|(lib|include)dir)=,&${PREFIX},' \
${WRKSRC}/*.pc