From 3dbde93588fc3d23cc01be1b822e148787197788 Mon Sep 17 00:00:00 2001 From: Kurt Jaeger Date: Sat, 7 Jun 2014 16:06:11 +0000 Subject: [PATCH] net-mgmt/mrtg: fixed shebang, LIB_DEPENDS Approved by: mentors (implicit), portmgr (blanket) --- net-mgmt/mrtg/Makefile | 5 +++-- 1 file 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