Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Nov 2009 10:48:49 +0100 (CET)
From:      "Simon L. Nielsen" <simon@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/140246: sysutils/freeipmi: Missing runtime dependency
Message-ID:  <200911030948.nA39mnvk060853@fishbone.nitro.dk>
Resent-Message-ID: <200911031130.nA3BU2s7038754@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911030948.nA39mnvk060853>