Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jan 2013 05:48:28 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/175571: devel/fnccheck: Fix build
Message-ID:  <20130126054828.eb8b290ca50e202ada77313b@yahoo.com>
Resent-Message-ID: <201301252110.r0PLA2A5074928@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         175571
>Category:       ports
>Synopsis:       devel/fnccheck: Fix build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 25 21:10:01 UTC 2013
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130126054828.eb8b290ca50e202ada77313b>