Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Feb 2013 14:32:52 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r311623 - head/devel/fnccheck
Message-ID:  <201302041432.r14EWqQh066643@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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|| ; \



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