summaryrefslogtreecommitdiff
path: root/misc/magicpoint
diff options
context:
space:
mode:
Diffstat (limited to 'misc/magicpoint')
-rw-r--r--misc/magicpoint/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/misc/magicpoint/Makefile b/misc/magicpoint/Makefile
index 877c782b0af2..7ecd4da205a5 100644
--- a/misc/magicpoint/Makefile
+++ b/misc/magicpoint/Makefile
@@ -18,6 +18,7 @@ LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png
RUN_DEPENDS+= pnmscale:${PORTSDIR}/graphics/netpbm
USE_IMAKE= yes
+USE_REINPLACE= yes
USE_FREETYPE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS?=--disable-vflib
@@ -39,6 +40,10 @@ SAMPLE_SCRIPTS= eqn2eps.sh tex2eps.sh mgp2html.pl mgp2latex.pl
.include <bsd.port.pre.mk>
+post-patch:
+ @${REINPLACE_CMD} -e 's|varargs.h|stdarg.h|' \
+ ${WRKSRC}/image/rlelib.c
+
post-configure:
(cd ${WRKSRC}/contrib/xmindpath; ./configure --prefix=${PREFIX})