aboutsummaryrefslogtreecommitdiff
path: root/misc/magicpoint/Makefile
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2003-11-26 09:40:15 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2003-11-26 09:40:15 +0000
commitaf8d633ce270541f63a7b1298f76a6a6620c91f8 (patch)
tree649530ca73743b2f7a0876b5bcd1742957e3698d /misc/magicpoint/Makefile
parent48b7dcec7a8351ad9053db884785b51e0c077a54 (diff)
downloadports-af8d633ce270541f63a7b1298f76a6a6620c91f8.tar.gz
ports-af8d633ce270541f63a7b1298f76a6a6620c91f8.zip
Fix build on 5.x.
Spotted by: Ted Lindgreen <ted@sanne.nlnetlabs.nl> Approved by: portmgr (marcus)
Notes
Notes: svn path=/head/; revision=94791
Diffstat (limited to 'misc/magicpoint/Makefile')
-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})