diff options
author | demon <demon@FreeBSD.org> | 2002-08-15 14:34:22 +0800 |
---|---|---|
committer | demon <demon@FreeBSD.org> | 2002-08-15 14:34:22 +0800 |
commit | 9ff977d5148a3c2d604dea0858a5924ba2d4ab59 (patch) | |
tree | 0156b7b0656a58a5d6a17b885e37376f10af8bf6 /net-mgmt | |
parent | dae7659f9df2e8b89e377f4aa5c74d1eb5f9f1ce (diff) | |
download | freebsd-ports-gnome-9ff977d5148a3c2d604dea0858a5924ba2d4ab59.tar.gz freebsd-ports-gnome-9ff977d5148a3c2d604dea0858a5924ba2d4ab59.tar.zst freebsd-ports-gnome-9ff977d5148a3c2d604dea0858a5924ba2d4ab59.zip |
Add WITH_GD2 knob for building with gd2 rather than gd.
Submitted by: David <david@dyn-ns.net>
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 \ |