Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2012 16:26:17 GMT
From:      François Charlier <fcharlier@ploup.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/171747: net-mgmt/collectd fails to build with GCRYPT enabled
Message-ID:  <201209181626.q8IGQHpg086923@red.freebsd.org>
Resent-Message-ID: <201209181630.q8IGU9F4047453@freefall.freebsd.org>

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

>Number:         171747
>Category:       ports
>Synopsis:       net-mgmt/collectd fails to build with GCRYPT enabled
>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 Sep 18 16:30:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     François Charlier
>Release:        9.0
>Organization:
>Environment:
FreeBSD ks367797.kimsufi.com 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64

>Description:
If libgcrypt is already installed, net-mgmt/collectd will try to reinstall
it as the dependency is specified against libgcrypt8 instead of plain libgcrypt
or libgcrypt.18 (the current version).

Portmaster then complains that the libgcrypt port is already installed and exits.

>How-To-Repeat:
portmaster install security/libgcrypt
portmaster install net-mgmt/collectd

>Fix:


Patch attached with submission follows:

--- Makefile	2012-09-18 18:14:26.735206140 +0200
+++ /usr/ports/net-mgmt/collectd/Makefile	2012-09-18 18:07:52.000000000 +0200
@@ -2,7 +2,7 @@
 # Date created:				Sat Sep 29 05:19:31 PDT 2007
 # Whom:					Matt Peterson <matt@peterson.org>
 #
-# $FreeBSD: head/net-mgmt/collectd/Makefile 304166 2012-09-12 22:07:07Z bdrewery $
+# $FreeBSD: ports/net-mgmt/collectd/Makefile,v 1.46 2012/09/12 22:07:07 bdrewery Exp $
 #
 
 PORTNAME=	collectd
@@ -239,7 +239,7 @@
 
 .if ${PORT_OPTIONS:MGCRYPT}
 CONFIGURE_ARGS+=--with-libgcrypt-prefix=${LOCALBASE}
-LIB_DEPENDS+=	gcrypt8:${PORTSDIR}/security/libgcrypt
+LIB_DEPENDS+=	gcrypt:${PORTSDIR}/security/libgcrypt
 .endif
 
 .if ${PORT_OPTIONS:MNUTUPS}


>Release-Note:
>Audit-Trail:
>Unformatted:



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