summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2014-06-07 16:06:11 +0000
committerpi <pi@FreeBSD.org>2014-06-07 16:06:11 +0000
commit819c448edf05c86a9da4b42b26908d6fe489a909 (patch)
treee448d423b2812a4bebd21e34a747a56e49c57e1a
parenta674e466a32c9f10161925fa61e0085aa16149c0 (diff)
downloadFreeBSD-ports-819c448edf05c86a9da4b42b26908d6fe489a909.zip
FreeBSD-ports-819c448edf05c86a9da4b42b26908d6fe489a909.tar.gz
net-mgmt/mrtg: fixed shebang, LIB_DEPENDS
Approved by: mentors (implicit), portmgr (blanket)
-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 c69395a..2d03d6e 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
OpenPOWER on IntegriCloud