1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00

- fix build for png-1.4.1

This commit is contained in:
Dirk Meyer 2010-03-29 15:59:37 +00:00
parent 5c10e773b4
commit f750678953
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=251737

View File

@ -22,7 +22,11 @@ CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN1= scalex.1 scalerx.1
PLIST_FILES= bin/scalex bin/scalerx
CPPFLAGS= `libpng12-config --I_opts`
LDFLAGS= `libpng12-config --L_opts`
CPPFLAGS= `libpng14-config --I_opts`
LDFLAGS= `libpng14-config --L_opts`
post-patch:
${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \
${WRKSRC}/file.c
.include <bsd.port.mk>