ports/171747: net-mgmt/collectd fails to build with GCRYPT enabled
François Charlier
fcharlier at ploup.net
Tue Sep 18 16:30:10 UTC 2012
>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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list