summaryrefslogtreecommitdiff
path: root/net-mgmt/mrtg
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2014-06-07 16:06:11 +0000
committerKurt Jaeger <pi@FreeBSD.org>2014-06-07 16:06:11 +0000
commit3dbde93588fc3d23cc01be1b822e148787197788 (patch)
treee448d423b2812a4bebd21e34a747a56e49c57e1a /net-mgmt/mrtg
parentdns/rbllookup-ng: fixed shebang (diff)
net-mgmt/mrtg: fixed shebang, LIB_DEPENDS
Approved by: mentors (implicit), portmgr (blanket)
Notes
Notes: svn path=/head/; revision=356920
Diffstat (limited to 'net-mgmt/mrtg')
-rw-r--r--net-mgmt/mrtg/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/net-mgmt/mrtg/Makefile b/net-mgmt/mrtg/Makefile
index c69395a7c4f2..2d03d6eeda52 100644
--- a/net-mgmt/mrtg/Makefile
+++ b/net-mgmt/mrtg/Makefile
@@ -17,7 +17,7 @@ COMMENT= The multi-router traffic grapher
# slave ports override with languages specific gd
GD_PORT?= graphics/gd
-LIB_DEPENDS= gd:${PORTSDIR}/${GD_PORT}
+LIB_DEPENDS= libgd.so:${PORTSDIR}/${GD_PORT}
RUN_DEPENDS= p5-SNMP_Session>=0:${PORTSDIR}/net-mgmt/p5-SNMP_Session
CONFIGURE_ARGS= --with-gd-lib=${LOCALBASE}/lib \
@@ -26,9 +26,10 @@ CONFIGURE_ARGS= --with-gd-lib=${LOCALBASE}/lib \
USERS= mrtg
GROUPS= mrtg
-USES= perl5
+USES= perl5 shebangfix
MAKE_ENV+= PERL=${PERL}
MRTG_RUNDIR?= /var/run/mrtg
+SHEBANG_FILES= bin/mrtg-traffic-sum
USE_RC_SUBR= mrtg_daemon
SUB_FILES= pkg-deinstall pkg-install pkg-message