diff options
author | Wesley Shields <wxs@FreeBSD.org> | 2009-01-07 14:49:49 +0000 |
---|---|---|
committer | Wesley Shields <wxs@FreeBSD.org> | 2009-01-07 14:49:49 +0000 |
commit | b2d73ae6a2b94d3ebc54ea75e6d77f15ecba471a (patch) | |
tree | 1522c1b165bb580f81758b2958c2c048e204e2b2 /databases/rrdtool | |
parent | c1a8186a0c4bd1db566f6c606c74d4d44cb0b323 (diff) |
Notes
Diffstat (limited to 'databases/rrdtool')
-rw-r--r-- | databases/rrdtool/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/databases/rrdtool/Makefile b/databases/rrdtool/Makefile index cc2d61c29a23..a174836625dc 100644 --- a/databases/rrdtool/Makefile +++ b/databases/rrdtool/Makefile @@ -19,7 +19,6 @@ LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \ png.5:${PORTSDIR}/graphics/png \ xml2.5:${PORTSDIR}/textproc/libxml2 \ pangocairo-1\.0.0:${PORTSDIR}/x11-toolkits/pango -RUN_DEPENDS= ${LOCALBASE}/lib/X11/fonts/dejavu:${PORTSDIR}/x11-fonts/dejavu CONFLICTS= rrdtool-1.0* @@ -37,9 +36,11 @@ PORTEXAMPLES= 4charts.pl bigtops.pl cgi-demo.cgi minmax.pl piped-demo.pl \ OPTIONS= PYTHON_MODULE "Build PYTHON bindings" off \ RUBY_MODULE "Build RUBY bindings" off \ - PERL_MODULE "Build PERL module" on + PERL_MODULE "Build PERL module" on \ + DEJAVU "Use DejaVu fonts (requires X11)" off .include <bsd.port.pre.mk> + .if defined(WITH_PYTHON_MODULE) USE_PYTHON= yes .include "${PORTSDIR}/Mk/bsd.python.mk" @@ -69,6 +70,10 @@ CONFIGURE_ARGS+= --disable-perl PLIST_SUB+= WITH_PERL="@comment " .endif +.if exists(${LOCALBASE}/lib/X11/fonts/dejavu) || defined(WITH_DEJAVU) +RUN_DEPENDS= ${LOCALBASE}/lib/X11/fonts/dejavu:${PORTSDIR}/x11-fonts/dejavu +.endif + CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 LDFLAGS+= -L${LOCALBASE}/lib CFLAGS:= ${CFLAGS:N-ffast-math} |