From f750678953595ab733a68125c3f728ee06f90e47 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Mon, 29 Mar 2010 15:59:37 +0000 Subject: - fix build for png-1.4.1 --- graphics/scale2x/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'graphics/scale2x') diff --git a/graphics/scale2x/Makefile b/graphics/scale2x/Makefile index 70dcf03d68f6..c18aa25ca957 100644 --- a/graphics/scale2x/Makefile +++ b/graphics/scale2x/Makefile @@ -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 -- cgit v1.2.3