From af8d633ce270541f63a7b1298f76a6a6620c91f8 Mon Sep 17 00:00:00 2001 From: "Sergey A. Osokin" Date: Wed, 26 Nov 2003 09:40:15 +0000 Subject: Fix build on 5.x. Spotted by: Ted Lindgreen Approved by: portmgr (marcus) --- misc/magicpoint/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'misc') 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 +post-patch: + @${REINPLACE_CMD} -e 's|varargs.h|stdarg.h|' \ + ${WRKSRC}/image/rlelib.c + post-configure: (cd ${WRKSRC}/contrib/xmindpath; ./configure --prefix=${PREFIX}) -- cgit v1.2.3