ports/140246: sysutils/freeipmi: Missing runtime dependency

Simon L. Nielsen simon at FreeBSD.org
Tue Nov 3 11:30:03 UTC 2009


>Number:         140246
>Category:       ports
>Synopsis:       sysutils/freeipmi: Missing runtime dependency
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 03 11:30:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Simon L. Nielsen
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
FreeBSD
>Environment:
>Description:
	The ipmimonitoring tool in freeipmi, and probably other freeimpi
	tools, has a runtime dependency on argp-standalone since it
	links dynamically against it.

	# ldd /usr/local/sbin/ipmimonitoring | grep libargp
	        libargp.so.0 => /usr/local/lib/libargp.so.0 (0x8010a0000)

>How-To-Repeat:
>Fix:
Change freeipmi to have a runtime dependency on argp-standalone.
--- freeipmi-argp.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/freeipmi/Makefile,v
retrieving revision 1.31
diff -u -d -r1.31 Makefile
--- Makefile	2 Aug 2009 19:35:35 -0000	1.31
+++ Makefile	3 Nov 2009 09:44:40 -0000
@@ -24,8 +24,8 @@
 MAINTAINER=	frol at nov.net
 COMMENT=	Library and tools to support IPMI-capable hardware
 
-BUILD_DEPENDS+=	${LOCALBASE}/lib/libargp.a:${PORTSDIR}/devel/argp-standalone
-LIB_DEPENDS+=	gcrypt:${PORTSDIR}/security/libgcrypt
+LIB_DEPENDS+=	gcrypt:${PORTSDIR}/security/libgcrypt \
+		argp:${PORTSDIR}/devel/argp-standalone
 
 USE_AUTOTOOLS=	libtool:22
 USE_GMAKE=	yes
--- freeipmi-argp.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list