From owner-freebsd-ports-bugs@FreeBSD.ORG Thu May 15 15:20:02 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 B9BE51065670 for ; Thu, 15 May 2008 15:20:02 +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 9583F8FC20 for ; Thu, 15 May 2008 15:20:02 +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 m4FFK2DQ082952 for ; Thu, 15 May 2008 15:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4FFK2Yv082951; Thu, 15 May 2008 15:20:02 GMT (envelope-from gnats) Resent-Date: Thu, 15 May 2008 15:20:02 GMT Resent-Message-Id: <200805151520.m4FFK2Yv082951@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, Mark Round Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99E71106566C for ; Thu, 15 May 2008 15:18:30 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 874838FC0A for ; Thu, 15 May 2008 15:18:30 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m4FFHJ2D073898 for ; Thu, 15 May 2008 15:17:19 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m4FFHJLJ073897; Thu, 15 May 2008 15:17:19 GMT (envelope-from nobody) Message-Id: <200805151517.m4FFHJLJ073897@www.freebsd.org> Date: Thu, 15 May 2008 15:17:19 GMT From: Mark Round To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/123704: heartbeat port does not build, patch included X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2008 15:20:02 -0000 >Number: 123704 >Category: ports >Synopsis: heartbeat port does not build, patch included >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu May 15 15:20:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Mark Round >Release: 7.0-p1 >Organization: >Environment: FreeBSD weasel 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #0: Wed May 14 09:44:44 BST 2008 root@weasel:/usr/obj/usr/src/sys/GENERIC i386 >Description: ports/sysutils/heartbeat fails to build after a default install of FreeBSD 7.0 : # cd /usr/ports/sysutils/heartbeat # make ..Output snipped... configure: error: The following required components noted earlier are missing: libnet-devel Please supply them and try again. gmake: *** [config.status] Error 1 *** Error code 2 Stop in /usr/ports/sysutils/heartbeat. >How-To-Repeat: # cd /usr/ports/sysutils/heartbeat # make (or portinstall, or whatever) >Fix: Simple patch for the heartbeat attached. This could probably be cleaned up, as I'm not familiar with the FreeBSD ports Makefile standards, but that's the quick'n'dirty fix, anyway... Patch attached with submission follows: --- Makefile 2008-05-15 16:10:20.000000000 +0100 +++ Makefile.new 2008-05-15 16:11:29.000000000 +0100 @@ -38,7 +38,7 @@ MAN8= apphbd.8 heartbeat.8 ldirectord.8 meatclient.8 \ stonith.8 supervise-ldirectord-config.8 -LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config +LIBNET_CONFIG?= libnet11-config post-patch: @${REINPLACE_CMD} -e "s|logrotate\.d||" \ @@ -48,7 +48,8 @@ @${REINPLACE_CMD} -e \ 's|libnet-config|${LIBNET_CONFIG}|; \ s|-lnet|`${LIBNET_CONFIG} --libs`|' \ - ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} + ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} \ + ${CONFIGURE_WRKSRC}/configure.in .if !defined(NOPORTDOCS) @${REINPLACE_CMD} -e 's|^\(docdir.*doc/\).*|\1${PORTNAME}|' \ >Release-Note: >Audit-Trail: >Unformatted: