diff options
author | osa <osa@FreeBSD.org> | 2003-11-26 17:40:15 +0800 |
---|---|---|
committer | osa <osa@FreeBSD.org> | 2003-11-26 17:40:15 +0800 |
commit | f90aae00e507e250c07a1eb35d1b4bab124cdfd4 (patch) | |
tree | de52828110527a0a4e322034784be1cb2da3fb35 /misc/magicpoint | |
parent | 0e01f422614e97aa73b5bcc0cd3cb785bb52a517 (diff) | |
download | freebsd-ports-gnome-f90aae00e507e250c07a1eb35d1b4bab124cdfd4.tar.gz freebsd-ports-gnome-f90aae00e507e250c07a1eb35d1b4bab124cdfd4.tar.zst freebsd-ports-gnome-f90aae00e507e250c07a1eb35d1b4bab124cdfd4.zip |
Fix build on 5.x.
Spotted by: Ted Lindgreen <ted@sanne.nlnetlabs.nl>
Approved by: portmgr (marcus)
Diffstat (limited to 'misc/magicpoint')
-rw-r--r-- | misc/magicpoint/Makefile | 5 |
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}) |