From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Apr 15 12:00:09 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4405106574D for ; Tue, 15 Apr 2008 12:00:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AFACE8FC1A for ; Tue, 15 Apr 2008 12:00:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3FC09Yl029214 for ; Tue, 15 Apr 2008 12:00:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3FC09hx029213; Tue, 15 Apr 2008 12:00:09 GMT (envelope-from gnats) Resent-Date: Tue, 15 Apr 2008 12:00:09 GMT Resent-Message-Id: <200804151200.m3FC09hx029213@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Daniel Roethlisberger Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B18E106566C for ; Tue, 15 Apr 2008 11:56:19 +0000 (UTC) (envelope-from roe@calvin.roe.ch) Received: from calvin.roe.ch (calvin.roe.ch [213.144.141.26]) by mx1.freebsd.org (Postfix) with ESMTP id D72DB8FC23 for ; Tue, 15 Apr 2008 11:56:17 +0000 (UTC) (envelope-from roe@calvin.roe.ch) Received: from roe by calvin.roe.ch (envelope-from ) with LOCAL (auth=roe) id 1Jljln-000OzP-MQ ; Tue, 15 Apr 2008 13:56:15 +0200 Message-Id: Date: Tue, 15 Apr 2008 13:56:15 +0200 From: Daniel Roethlisberger Sender: Daniel Roethlisberger To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: daniel@roe.ch Subject: ports/122791: [patch] net-mgmt/collectd - fix WITH_APACHE dependency and plist X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Roethlisberger List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2008 12:00:10 -0000 >Number: 122791 >Category: ports >Synopsis: [patch] net-mgmt/collectd - fix WITH_APACHE dependency and plist >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Apr 15 12:00:09 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Daniel Roethlisberger >Release: FreeBSD 6.3-RELEASE-p1 i386 >Organization: >Environment: System: FreeBSD calvin.roe.ch 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #0: Wed Feb 13 02:56:56 UTC 2008 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/SMP i386 >Description: If WITH_APACHE is used, collectd fails to pick up the curl dependency, failing the build. When the dependency is fixed manually, the resulting packing list is also wrong. There are also some other rough edges about this port; I'll try to address those later this week. >How-To-Repeat: Build net-mgmt/collectd with WITH_APACHE=yes >Fix: --- collectd-apache-fix.diff begins here --- diff -ruN collectd.orig/Makefile collectd/Makefile --- collectd.orig/Makefile 2008-03-27 11:58:26.000000000 +0100 +++ collectd/Makefile 2008-04-15 13:36:57.000000000 +0200 @@ -62,13 +62,11 @@ .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-debug -.else -PLIST_SUB+= APACHE="@comment " .endif .if defined(WITH_APACHE) CONFIGURE_ARGS+= --enable-apache -BUILD_DEPENDS+= curl.4:${PORTSDIR}/ftp/curl +LIB_DEPENDS+= curl.4:${PORTSDIR}/ftp/curl PLIST_SUB+= APACHE="" .else CONFIGURE_ARGS+= --disable-apache --- collectd-apache-fix.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: