diff options
author | Dmitry Sivachenko <demon@FreeBSD.org> | 2002-08-15 06:34:22 +0000 |
---|---|---|
committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2002-08-15 06:34:22 +0000 |
commit | 3c0311643bee327fe2ba525984813c838bbd640a (patch) | |
tree | 0adc90a12efe5bb081b3f359cea323108b92e8d8 /net-mgmt | |
parent | 06babcc4aabf798da65839dbbb478bb04ef30389 (diff) | |
download | ports-3c0311643bee327fe2ba525984813c838bbd640a.tar.gz ports-3c0311643bee327fe2ba525984813c838bbd640a.zip |
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/mrtg/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/net-mgmt/mrtg/Makefile b/net-mgmt/mrtg/Makefile index 219f5eb6d771..c1c2bedd556b 100644 --- a/net-mgmt/mrtg/Makefile +++ b/net-mgmt/mrtg/Makefile @@ -15,16 +15,21 @@ MASTER_SITE_SUBDIR= net/mrtg MAINTAINER= demon@FreeBSD.org +.if defined(WITH_GD2) +LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd2 +CONFIGURE_ARGS= --with-gd-lib=${LOCALBASE}/lib \ + --with-gd-inc=${LOCALBASE}/include +.else LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd +CONFIGURE_ARGS= --with-gd-lib=${LOCALBASE}/lib \ + --with-gd-inc=${LOCALBASE}/include/gd +.endif USE_PERL5= YES MAKE_ENV+= PERL=${PERL} GNU_CONFIGURE= YES -CONFIGURE_ARGS= --with-gd-lib=${LOCALBASE}/lib \ - --with-gd-inc=${LOCALBASE}/include/gd - CONFIGURE_ENV= PERL=${PERL} MAN1= cfgmaker.1 contrib.1 faq.1 forum.1 indexmaker.1 logfile.1 \ |