1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-07 11:49:40 +00:00

- fix build for png-1.4.1

PR:		145197
This commit is contained in:
Dirk Meyer 2010-03-30 13:26:13 +00:00
parent 7ce21a7488
commit 46bb049b2a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=251817

View File

@ -116,6 +116,12 @@ PLIST_SUB+= TOOLS=""
BROKEN= you need NLS support for `campaignd' or `wesnothd' or tools to link against gettext
.endif
post-patch:
${REINPLACE_CMD} -e 's|libpng12|libpng14|g' ${WRKSRC}/configure
${REINPLACE_CMD} -e 's|png_voidp_NULL|NULL|g' \
-e 's|png_error_ptr_NULL|NULL|g' \
${WRKSRC}/src/tools/exploder_utils.cpp
post-install: .SILENT
-update-desktop-database