From tkato432@yahoo.com  Fri Jan 25 21:01:01 2013
Return-Path: <tkato432@yahoo.com>
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id 914CCC34
	for <FreeBSD-gnats-submit@FreeBSD.org>; Fri, 25 Jan 2013 21:00:58 +0000 (UTC)
	(envelope-from tkato432@yahoo.com)
Received: from msa106lp.auone-net.jp (msa106lp.auone-net.jp [222.3.140.169])
	by mx1.freebsd.org (Postfix) with ESMTP id 6778F91D
	for <FreeBSD-gnats-submit@FreeBSD.org>; Fri, 25 Jan 2013 21:00:58 +0000 (UTC)
Received: from msa106lp.auone-net.jp (MSA106lp [172.27.12.184])
	by msa106lp.auone-net.jp (au one net msa) with ESMTP id 9239E50028A
	for <FreeBSD-gnats-submit@FreeBSD.org>; Sat, 26 Jan 2013 06:00:54 +0900 (JST)
Received: from localhost.localdomain (ZT034163.ppp.dion.ne.jp [59.128.34.163])
	by msa106lp.auone-net.jp (au one net msa) with ESMTP id BE50423C031
	for <FreeBSD-gnats-submit@FreeBSD.org>; Sat, 26 Jan 2013 06:00:46 +0900 (JST)
Message-Id: <20130126054828.eb8b290ca50e202ada77313b@yahoo.com>
Date: Sat, 26 Jan 2013 05:48:28 +0900
From: KATO Tsuguru <tkato432@yahoo.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Subject: devel/fnccheck: Fix build

>Number:         175571
>Category:       ports
>Synopsis:       devel/fnccheck: Fix build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 25 21:10:01 UTC 2013
>Closed-Date:    Mon Feb 04 14:33:23 UTC 2013
>Last-Modified:  Mon Feb  4 14:40:01 UTC 2013
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p11 i386
>Organization:
>Environment:
>Description:
- Fix build

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/devel/fnccheck/Makefile devel/fnccheck/Makefile
--- /usr/ports/devel/fnccheck/Makefile	2012-11-08 05:26:57.000000000 +0900
+++ devel/fnccheck/Makefile	2013-01-19 16:30:54.000000000 +0900
@@ -1,9 +1,5 @@
-# New ports collection makefile for:   fnccheck
-# Date created:        22 January 2001
-# Whom:                George Reid <greid@ukug.uk.freebsd.org>
-#
+# Created by George Reid <greid@ukug.uk.freebsd.org>
 # $FreeBSD: head/devel/fnccheck/Makefile 306168 2012-10-20 07:58:40Z beat $
-#
 
 PORTNAME=	fnccheck
 PORTVERSION=	3.2.0
@@ -12,13 +8,11 @@
 DISTNAME=	FunctionCheck-${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A profiling library/utilities for C/C++ programs
+COMMENT=	Profiling library/utilities for C/C++ programs
 
 LICENSE=	GPLv2 LGPL21
 LICENSE_COMB=	multi
 
-BROKEN=		does not link
-
 USE_BINUTILS=	yes
 USE_AUTOTOOLS=	libtoolize aclocal automake autoconf
 LIBTOOLIZE_ARGS=--force
@@ -34,6 +28,14 @@
 
 INFO=		libfc
 
+.include <bsd.port.options.mk>
+
+# should be same as binutils
+.if ${PORT_OPTIONS:MNLS}
+USE_GETTEXT=	yes
+LDFLAGS+=	-lintl
+.endif
+
 post-patch:
 	@${FIND} ${WRKSRC} -name "Makefile.am" | ${XARGS} ${REINPLACE_CMD} -e \
 		's|-ldl -lpthread|| ; \
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->araujo 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Jan 25 21:10:31 UTC 2013 
Responsible-Changed-Why:  
araujo@ wants this submitter's PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=175571 
Responsible-Changed-From-To: araujo->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Mon Feb 4 14:33:06 UTC 2013 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=175571 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Mon Feb 4 14:33:22 UTC 2013 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/175571: commit references a PR
Date: Mon,  4 Feb 2013 14:33:01 +0000 (UTC)

 Author: miwi
 Date: Mon Feb  4 14:32:52 2013
 New Revision: 311623
 URL: http://svnweb.freebsd.org/changeset/ports/311623
 
 Log:
   - Fix Build
   
   PR:		175571
   Submitted by:	Ports Fury
 
 Modified:
   head/devel/fnccheck/Makefile
 
 Modified: head/devel/fnccheck/Makefile
 ==============================================================================
 --- head/devel/fnccheck/Makefile	Mon Feb  4 14:31:17 2013	(r311622)
 +++ head/devel/fnccheck/Makefile	Mon Feb  4 14:32:52 2013	(r311623)
 @@ -1,9 +1,5 @@
 -# New ports collection makefile for:   fnccheck
 -# Date created:        22 January 2001
 -# Whom:                George Reid <greid@ukug.uk.freebsd.org>
 -#
 +# Created by George Reid <greid@ukug.uk.freebsd.org>
  # $FreeBSD$
 -#
  
  PORTNAME=	fnccheck
  PORTVERSION=	3.2.0
 @@ -12,13 +8,11 @@ MASTER_SITES=	SF/${PORTNAME}
  DISTNAME=	FunctionCheck-${PORTVERSION}
  
  MAINTAINER=	ports@FreeBSD.org
 -COMMENT=	A profiling library/utilities for C/C++ programs
 +COMMENT=	Profiling library/utilities for C/C++ programs
  
  LICENSE=	GPLv2 LGPL21
  LICENSE_COMB=	multi
  
 -BROKEN=		does not link
 -
  USE_BINUTILS=	yes
  USE_AUTOTOOLS=	libtoolize aclocal automake autoconf
  LIBTOOLIZE_ARGS=--force
 @@ -34,6 +28,14 @@ STRIP=		# none
  
  INFO=		libfc
  
 +.include <bsd.port.options.mk>
 +
 +# should be same as binutils
 +.if ${PORT_OPTIONS:MNLS}
 +USE_GETTEXT=	yes
 +LDFLAGS+=	-lintl
 +.endif
 +
  post-patch:
  	@${FIND} ${WRKSRC} -name "Makefile.am" | ${XARGS} ${REINPLACE_CMD} -e \
  		's|-ldl -lpthread|| ; \
 _______________________________________________
 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:
