Bug 170142 - devel/fnccheck: Update to version 3.2.0
Summary: devel/fnccheck: Update to version 3.2.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-25 19:10 UTC by tkato432
Modified: 2012-08-05 09:20 UTC (History)
0 users

See Also:


Attachments
file.diff (6.35 KB, patch)
2012-07-25 19:10 UTC, tkato432
no flags Details | Diff
devel_fnccheck.diff (6.49 KB, patch)
2012-07-28 18:58 UTC, tkato432
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato432 2012-07-25 19:10:09 UTC
- Update to version 3.2.0

Remove file:
files/patch-aa
files/patch-ab
files/patch-ac
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-07-25 19:11:02 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

miwi@ wants his PRs (via the GNATS Auto Assign Tool)
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2012-07-28 04:58:10 UTC
State Changed
From-To: open->feedback

build fail http://tb.smeets.im/tb/index.php?action=describe_port&id=2328
Comment 3 tkato432 2012-07-28 18:58:08 UTC
Here is the corrected patch.
Comment 4 Martin Wilke freebsd_committer freebsd_triage 2012-08-05 09:11:26 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!
Comment 5 dfilter service freebsd_committer freebsd_triage 2012-08-05 09:11:35 UTC
Author: miwi
Date: Sun Aug  5 08:11:25 2012
New Revision: 302088
URL: http://svn.freebsd.org/changeset/ports/302088

Log:
  - Update to 3.2.0
  
  PR:		170142
  Submitted by:	Ports Fury

Deleted:
  head/devel/fnccheck/files/patch-aa
  head/devel/fnccheck/files/patch-ab
  head/devel/fnccheck/files/patch-ac
Modified:
  head/devel/fnccheck/Makefile   (contents, props changed)
  head/devel/fnccheck/distinfo   (contents, props changed)
  head/devel/fnccheck/pkg-descr   (contents, props changed)
  head/devel/fnccheck/pkg-plist   (contents, props changed)

Modified: head/devel/fnccheck/Makefile
==============================================================================
--- head/devel/fnccheck/Makefile	Sun Aug  5 08:00:49 2012	(r302087)
+++ head/devel/fnccheck/Makefile	Sun Aug  5 08:11:25 2012	(r302088)
@@ -6,35 +6,38 @@
 #
 
 PORTNAME=	fnccheck
-PORTVERSION=	1.2
+PORTVERSION=	3.2.0
 CATEGORIES=	devel
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}/${PORTVERSION}
+MASTER_SITES=	SF/${PORTNAME}
+DISTNAME=	FunctionCheck-${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A profiling library/utilities for C/C++ programs
 
+LICENSE=	GPLv2 LGPL21
+LICENSE_COMB=	multi
+
+USE_BINUTILS=	yes
+USE_AUTOTOOLS=	libtoolize aclocal automake autoconf
+LIBTOOLIZE_ARGS=--force
+ACLOCAL_ARGS=	-I ${LOCALBASE}/share/aclocal
+AUTOMAKE_ARGS=	--force-missing --add-missing --foreign
 USE_LDCONFIG=	yes
+MAKE_JOBS_SAFE=	yes
+
+CPPFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
+LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
 
-USE_CSTD=	gnu89
+STRIP=		# none
 
-WRKSRC=		${WRKDIR}/${PORTNAME}-devel-${PORTVERSION}
+INFO=		libfc
 
-DOCS=		README.txt README1ST.txt CHANGES.txt \
-		doc/fncdump.info doc/html/fncdump_toc.html \
-		doc/html/fncdump.html
-
-STRIP=		#
-
-do-install:
-.for B in fncdump fncaverage
-	${INSTALL_PROGRAM} ${WRKSRC}/bin/$B ${PREFIX}/bin
-.endfor
-	${INSTALL_PROGRAM} ${WRKSRC}/lib/libfnccheck.so ${PREFIX}/lib
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-.for D in ${DOCS}
-	${INSTALL_DATA} ${WRKSRC}/$D ${DOCSDIR}
-.endfor
-.endif
+post-patch:
+	@${FIND} ${WRKSRC} -name "Makefile.am" | ${XARGS} ${REINPLACE_CMD} -e \
+		's|-ldl -lpthread|| ; \
+		 s|-lbfd$$|-lbfd -liberty| ; \
+		 s|-Wall -O3|-Wall|'
+	@${REINPLACE_CMD} -e \
+		'/^SUBDIRS/s|test||' ${WRKSRC}/Makefile.am
 
 .include <bsd.port.mk>

Modified: head/devel/fnccheck/distinfo
==============================================================================
--- head/devel/fnccheck/distinfo	Sun Aug  5 08:00:49 2012	(r302087)
+++ head/devel/fnccheck/distinfo	Sun Aug  5 08:11:25 2012	(r302088)
@@ -1,2 +1,2 @@
-SHA256 (fnccheck-1.2.tar.gz) = 6a7f5769edccb116f20e9a1edb848d06eb742688a2fc01e0044b9d429372938a
-SIZE (fnccheck-1.2.tar.gz) = 64664
+SHA256 (FunctionCheck-3.2.0.tar.gz) = df5dec9b3ad4f5b009323b0773baf502b482f18a894b3a5c3b72748fe5c5ba75
+SIZE (FunctionCheck-3.2.0.tar.gz) = 95451

Modified: head/devel/fnccheck/pkg-descr
==============================================================================
--- head/devel/fnccheck/pkg-descr	Sun Aug  5 08:00:49 2012	(r302087)
+++ head/devel/fnccheck/pkg-descr	Sun Aug  5 08:11:25 2012	(r302088)
@@ -4,4 +4,6 @@ time spend in functions, number of calls
 
 In order to use FncCheck, you have to compile your .o files
 with '-finstrument-functions -g' switches (gcc V2.95.2 and higher).
-You have then to link your executable with the library 'libfnccheck.so'.
+You have then to link your executable with the library 'libfc.so'.
+
+WWW: http://sourceforge.net/projects/fnccheck/

Modified: head/devel/fnccheck/pkg-plist
==============================================================================
--- head/devel/fnccheck/pkg-plist	Sun Aug  5 08:00:49 2012	(r302087)
+++ head/devel/fnccheck/pkg-plist	Sun Aug  5 08:11:25 2012	(r302088)
@@ -1,10 +1,6 @@
-bin/fncaverage
-bin/fncdump
-lib/libfnccheck.so
-%%PORTDOCS%%%%DOCSDIR%%/CHANGES.txt
-%%PORTDOCS%%%%DOCSDIR%%/README.txt
-%%PORTDOCS%%%%DOCSDIR%%/README1ST.txt
-%%PORTDOCS%%%%DOCSDIR%%/fncdump.html
-%%PORTDOCS%%%%DOCSDIR%%/fncdump.info
-%%PORTDOCS%%%%DOCSDIR%%/fncdump_toc.html
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+bin/fcdump
+bin/fcmanager
+lib/libfc.a
+lib/libfc.la
+lib/libfc.so
+lib/libfc.so.0
_______________________________________________
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"