diff options
author | lawrance <lawrance@FreeBSD.org> | 2005-05-28 12:44:19 +0800 |
---|---|---|
committer | lawrance <lawrance@FreeBSD.org> | 2005-05-28 12:44:19 +0800 |
commit | 584aa4f15cd6682fc0393266f887d7a4b083aeab (patch) | |
tree | 090863256c17046dc015fa12431c7b73343f4fa3 /print/dvisvg | |
parent | 65df3a84fdd8c2e899e81eb5ee9cf2665003181c (diff) | |
download | freebsd-ports-gnome-584aa4f15cd6682fc0393266f887d7a4b083aeab.tar.gz freebsd-ports-gnome-584aa4f15cd6682fc0393266f887d7a4b083aeab.tar.zst freebsd-ports-gnome-584aa4f15cd6682fc0393266f887d7a4b083aeab.zip |
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)
Diffstat (limited to 'print/dvisvg')
-rw-r--r-- | print/dvisvg/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/print/dvisvg/Makefile b/print/dvisvg/Makefile index 01d5a6f3b0fa..6556a01a0171 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 |