From nobody@FreeBSD.org  Fri Nov  8 20:31:57 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id 333E4CD2
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  8 Nov 2013 20:31:57 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 203D72F60
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  8 Nov 2013 20:31:57 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rA8KVup9041834
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 8 Nov 2013 20:31:56 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rA8KVu1j041831;
	Fri, 8 Nov 2013 20:31:56 GMT
	(envelope-from nobody)
Message-Id: <201311082031.rA8KVu1j041831@oldred.freebsd.org>
Date: Fri, 8 Nov 2013 20:31:56 GMT
From: Justin Head <ports@encarnate.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: sysutils/heartbeat: FreeBSD 10 Clang/GCC Fix
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         183800
>Category:       ports
>Synopsis:       sysutils/heartbeat: FreeBSD 10 Clang/GCC Fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wg
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 08 20:40:00 UTC 2013
>Closed-Date:    Sat Nov 09 12:30:36 UTC 2013
>Last-Modified:  Sat Nov  9 12:40:00 UTC 2013
>Originator:     Justin Head
>Release:        10.0-BETA3
>Organization:
Encarnate, LLC
>Environment:
FreeBSD  10.0-BETA3 FreeBSD 10.0-BETA3 #0 r257580: Sun Nov  3 19:43:01 UTC 2013     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Update for hardcoded gcc reference in source tools/Makefile.am.
>How-To-Repeat:
Build the port. It will fail now that gcc is out of base.
>Fix:
Patched to use $(CC) instead of 'gcc'.

Patch attached with submission follows:

Index: files/patch-tools-Makefile.am
===================================================================
--- files/patch-tools-Makefile.am	(revision 0)
+++ files/patch-tools-Makefile.am	(working copy)
@@ -0,0 +1,11 @@
+--- tools/Makefile.am.orig	2008-08-18 12:32:19.000000000 +0000
++++ tools/Makefile.am	2013-11-08 13:57:58.000000000 +0000
+@@ -43,7 +43,7 @@
+ 
+ ## SOURCES
+ ccdv: 	$(top_srcdir)/tools/ccdv.c
+-	gcc $(AM_CFLAGS) $(CFLAGS) -o ccdv $(top_srcdir)/tools/ccdv.c
++	$(CC) $(AM_CFLAGS) $(CFLAGS) -o ccdv $(top_srcdir)/tools/ccdv.c
+ 
+ cl_status_SOURCES	= cl_status.c
+ # A little trick. Now ccdv can be auto-built but not auto-cleaned.

Property changes on: files/patch-tools-Makefile.am
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->wg 
Responsible-Changed-By: wg 
Responsible-Changed-When: Sat Nov 9 03:33:26 UTC 2013 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183800 
State-Changed-From-To: open->closed 
State-Changed-By: wg 
State-Changed-When: Sat Nov 9 12:30:34 UTC 2013 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183800 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/183800: commit references a PR
Date: Sat,  9 Nov 2013 12:30:35 +0000 (UTC)

 Author: wg
 Date: Sat Nov  9 12:30:28 2013
 New Revision: 333284
 URL: http://svnweb.freebsd.org/changeset/ports/333284
 
 Log:
   sysutils/heartbeat: fix build without gcc
   
   - Fix build without gcc
   - Convert lib depends to new format [1]
   
   PR:		ports/183800
   Submitted by:	maintainer, wg [1]
 
 Added:
   head/sysutils/heartbeat/files/patch-tools-Makefile.am   (contents, props changed)
 Modified:
   head/sysutils/heartbeat/Makefile
 
 Modified: head/sysutils/heartbeat/Makefile
 ==============================================================================
 --- head/sysutils/heartbeat/Makefile	Sat Nov  9 12:21:06 2013	(r333283)
 +++ head/sysutils/heartbeat/Makefile	Sat Nov  9 12:30:28 2013	(r333284)
 @@ -16,10 +16,10 @@ COMMENT=	Subsystem for High-Availability
  
  BUILD_DEPENDS=	bison:${PORTSDIR}/devel/bison
  
 -LIB_DEPENDS=	gnutls:${PORTSDIR}/security/gnutls \
 -		net:${PORTSDIR}/net/libnet \
 -		uuid:${PORTSDIR}/misc/e2fsprogs-libuuid \
 -		xml2:${PORTSDIR}/textproc/libxml2
 +LIB_DEPENDS=	libgnutls.so:${PORTSDIR}/security/gnutls \
 +		libnet.so:${PORTSDIR}/net/libnet \
 +		libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid \
 +		libxml2.so:${PORTSDIR}/textproc/libxml2
  PATCH_DEPENDS=	libtool:${PORTSDIR}/devel/libtool
  
  USE_AUTOTOOLS=	autoconf autoheader automake aclocal libtool libltdl
 
 Added: head/sysutils/heartbeat/files/patch-tools-Makefile.am
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/sysutils/heartbeat/files/patch-tools-Makefile.am	Sat Nov  9 12:30:28 2013	(r333284)
 @@ -0,0 +1,11 @@
 +--- tools/Makefile.am.orig	2008-08-18 12:32:19.000000000 +0000
 ++++ tools/Makefile.am	2013-11-08 13:57:58.000000000 +0000
 +@@ -43,7 +43,7 @@
 + 
 + ## SOURCES
 + ccdv: 	$(top_srcdir)/tools/ccdv.c
 +-	gcc $(AM_CFLAGS) $(CFLAGS) -o ccdv $(top_srcdir)/tools/ccdv.c
 ++	$(CC) $(AM_CFLAGS) $(CFLAGS) -o ccdv $(top_srcdir)/tools/ccdv.c
 + 
 + cl_status_SOURCES	= cl_status.c
 + # A little trick. Now ccdv can be auto-built but not auto-cleaned.
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
