From 584aa4f15cd6682fc0393266f887d7a4b083aeab Mon Sep 17 00:00:00 2001 From: lawrance Date: Sat, 28 May 2005 04:44:19 +0000 Subject: Compile with HAVE_PROTOTYPES to fix varargs build error. Proper fix (same effect, include kpathsea/c-auto.h) has been submitted upstream. Approved by: clement (mentor, implicit) --- print/dvisvg/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'print/dvisvg') diff --git a/print/dvisvg/Makefile b/print/dvisvg/Makefile index 01d5a6f3b0f..6556a01a017 100644 --- a/print/dvisvg/Makefile +++ b/print/dvisvg/Makefile @@ -12,7 +12,7 @@ CATEGORIES= print MASTER_SITES= http://dvisvg.sourceforge.net/ MAINTAINER= ports@FreeBSD.org -COMMENT= Convertor from DVI to SVG +COMMENT= Converter from DVI to SVG BUILD_DEPENDS= ${MKTEXLSR}:${PORTSDIR}/print/teTeX RUN_DEPENDS= ${MKTEXLSR}:${PORTSDIR}/print/teTeX \ @@ -23,11 +23,13 @@ USE_REINPLACE= yes USE_GETOPT_LONG= yes USE_GHOSTSCRIPT_RUN= yes ALL_TARGET= # empty +# workaround for svgfonts.c not including kpathsea/c-auto.h +CFLAGS+= -DHAVE_PROTOTYPES MAKE_ARGS= CC="${CC} ${CFLAGS}" TARGETDIR=${PREFIX} \ LINC=${LOCALBASE}/include \ LLIB=${LOCALBASE}/lib \ BINDIR=${PREFIX}/bin \ - CNFDIR=${PREFIX}/${TEXMFLOCAL}/dvisvg + CNFDIR=${PREFIX}/${TEXMFLOCAL}/dvisvg \ TEXMFLOCAL= share/texmf-local TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R -- cgit