ports/146491: [patch] net-mgmt/ocsinventory-agent: fix dependencies

Guido Falsi mad at madpilot.net
Tue May 11 12:10:07 UTC 2010


>Number:         146491
>Category:       ports
>Synopsis:       [patch] net-mgmt/ocsinventory-agent: fix dependencies
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 11 12:10:05 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Guido Falsi
>Release:        FreeBSD 8.0-STABLE amd64
>Organization:
none
>Environment:
System: FreeBSD megatron.madpilot.net 8.0-STABLE FreeBSD 8.0-STABLE #13: Sat Apr 24 17:35:12 CEST 2010 root at megatron.madpilot.net:/usr/obj/usr/src/sys/MEGATRON amd64

>Description:

All the perl modules are required at run time by the agent, not
only at build time, so modify dependencies accordingly.

Maintainer is CCed.

>How-To-Repeat:

Install ports/net-mgmt/ocsinventory-agent, configure it, remove the
p5-libwww or p5-XML-Simple ports(which will not give you any warning
since they are not marked as required at runtime by this port) and
try to run the agent.

>Fix:

diff -ruN ocsinventory-agent.old/Makefile ocsinventory-agent/Makefile
--- ocsinventory-agent.old/Makefile	2010-04-21 14:53:52.735749888 +0200
+++ ocsinventory-agent/Makefile	2010-04-21 14:55:20.074147681 +0200
@@ -15,11 +15,11 @@
 MAINTAINER=	araujo at FreeBSD.org
 COMMENT=	Keep track of the computers configuration and software
 
-BUILD_DEPENDS=	${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
+RUN_DEPENDS=	${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
 		${SITE_PERL}/XML/Simple.pm:${PORTSDIR}/textproc/p5-XML-Simple \
 		${SITE_PERL}/Net/IP.pm:${PORTSDIR}/net-mgmt/p5-Net-IP \
-		${SITE_PERL}/Proc/Daemon.pm:${PORTSDIR}/devel/p5-Proc-Daemon \
-		dmidecode:${PORTSDIR}/sysutils/dmidecode \
+		${SITE_PERL}/Proc/Daemon.pm:${PORTSDIR}/devel/p5-Proc-Daemon
+BUILD_DEPENDS=	dmidecode:${PORTSDIR}/sysutils/dmidecode \
 		lspci:${PORTSDIR}/sysutils/pciutils
 
 USE_PERL5=	yes
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list