ports/123704: heartbeat port does not build, patch included
Mark Round
mark at markround.com
Thu May 15 15:20:02 UTC 2008
>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 at 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:
More information about the freebsd-ports-bugs
mailing list