aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/mrtg
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2002-11-26 17:24:50 +0800
committerdemon <demon@FreeBSD.org>2002-11-26 17:24:50 +0800
commit76211c24bcfac03499e8bb9de0da116b47e072ac (patch)
tree2ef60d87ade79e18ae083610a86c09801fa15299 /net-mgmt/mrtg
parentbf02bcce7dbc1fd0eb00d9d9d2e81b64b7ed8ffd (diff)
downloadfreebsd-ports-gnome-76211c24bcfac03499e8bb9de0da116b47e072ac.tar.gz
freebsd-ports-gnome-76211c24bcfac03499e8bb9de0da116b47e072ac.tar.zst
freebsd-ports-gnome-76211c24bcfac03499e8bb9de0da116b47e072ac.zip
Fix LIB_DEPENDS when using gd version 1.
Spotted by: Peter van Dijk <peter@dataloss.nl>
Diffstat (limited to 'net-mgmt/mrtg')
-rw-r--r--net-mgmt/mrtg/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/net-mgmt/mrtg/Makefile b/net-mgmt/mrtg/Makefile
index 2902cc685c61..4ef5d7769fed 100644
--- a/net-mgmt/mrtg/Makefile
+++ b/net-mgmt/mrtg/Makefile
@@ -21,6 +21,7 @@ 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