diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2010-03-29 15:59:37 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2010-03-29 15:59:37 +0000 |
commit | f750678953595ab733a68125c3f728ee06f90e47 (patch) | |
tree | 8fc7afbeb73b45dea433311d0774c9ee410aea8c /graphics | |
parent | use new RC_SUBR structure (diff) |
- fix build for png-1.4.1
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/scale2x/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
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 <bsd.port.mk> |