svn commit: r311623 - head/devel/fnccheck

Martin Wilke miwi at FreeBSD.org
Mon Feb 4 14:32:52 UTC 2013


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 at ukug.uk.freebsd.org>
-#
+# Created by George Reid <greid at ukug.uk.freebsd.org>
 # $FreeBSD$
-#
 
 PORTNAME=	fnccheck
 PORTVERSION=	3.2.0
@@ -12,13 +8,11 @@ MASTER_SITES=	SF/${PORTNAME}
 DISTNAME=	FunctionCheck-${PORTVERSION}
 
 MAINTAINER=	ports at 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|| ; \


More information about the svn-ports-head mailing list