summaryrefslogtreecommitdiff
path: root/misc/magicpoint/Makefile
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-03-28 14:12:20 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-03-28 14:12:20 +0000
commit49b35c1ae08a6394671127c62dad003f799230bc (patch)
tree948fa50a64cbc82e09fa9967eba3867456665a64 /misc/magicpoint/Makefile
parent- fix build for png-1.4.1 (diff)
- fix build for png-1.4.1
Reported by: QA Tindy
Notes
Notes: svn path=/head/; revision=251638
Diffstat (limited to 'misc/magicpoint/Makefile')
-rw-r--r--misc/magicpoint/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/magicpoint/Makefile b/misc/magicpoint/Makefile
index a0943b9dcc4b..d6cf246981b9 100644
--- a/misc/magicpoint/Makefile
+++ b/misc/magicpoint/Makefile
@@ -76,7 +76,9 @@ CONFIGURE_ARGS+= --disable-imlib
.endif
post-patch:
- ${REINPLACE_CMD} -e 's|-lungif|-lgif|' ${WRKSRC}/configure
+ ${REINPLACE_CMD} -e 's|-lungif|-lgif|' \
+ -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \
+ ${WRKSRC}/configure ${WRKSRC}/image/png.c
post-configure:
cd ${WRKSRC}/contrib/xmindpath && \