diff options
author | miwi <miwi@FreeBSD.org> | 2012-08-05 16:11:25 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2012-08-05 16:11:25 +0800 |
commit | 98246da8f283462f739fd8535c5795b6eededc14 (patch) | |
tree | 21df0eeb4a3a0b303850311698a1abb91ddf457d | |
parent | fbdb20c01ac9b112adb9ac48d5aa3b2b952989e9 (diff) | |
download | freebsd-ports-gnome-98246da8f283462f739fd8535c5795b6eededc14.tar.gz freebsd-ports-gnome-98246da8f283462f739fd8535c5795b6eededc14.tar.zst freebsd-ports-gnome-98246da8f283462f739fd8535c5795b6eededc14.zip |
- Update to 3.2.0
PR: 170142
Submitted by: Ports Fury
-rw-r--r-- | devel/fnccheck/Makefile | 43 | ||||
-rw-r--r-- | devel/fnccheck/distinfo | 4 | ||||
-rw-r--r-- | devel/fnccheck/files/patch-aa | 23 | ||||
-rw-r--r-- | devel/fnccheck/files/patch-ab | 51 | ||||
-rw-r--r-- | devel/fnccheck/files/patch-ac | 12 | ||||
-rw-r--r-- | devel/fnccheck/pkg-descr | 4 | ||||
-rw-r--r-- | devel/fnccheck/pkg-plist | 16 |
7 files changed, 34 insertions, 119 deletions
diff --git a/devel/fnccheck/Makefile b/devel/fnccheck/Makefile index ac29965689bc..a491e57b9e84 100644 --- a/devel/fnccheck/Makefile +++ b/devel/fnccheck/Makefile @@ -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 -USE_LDCONFIG= yes +LICENSE= GPLv2 LGPL21 +LICENSE_COMB= multi -USE_CSTD= gnu89 +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 -WRKSRC= ${WRKDIR}/${PORTNAME}-devel-${PORTVERSION} +CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} +LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -DOCS= README.txt README1ST.txt CHANGES.txt \ - doc/fncdump.info doc/html/fncdump_toc.html \ - doc/html/fncdump.html +STRIP= # none -STRIP= # +INFO= libfc -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> diff --git a/devel/fnccheck/distinfo b/devel/fnccheck/distinfo index 8a13c16c18c5..5e357c8627b4 100644 --- a/devel/fnccheck/distinfo +++ b/devel/fnccheck/distinfo @@ -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 diff --git a/devel/fnccheck/files/patch-aa b/devel/fnccheck/files/patch-aa deleted file mode 100644 index 22a68b2a27bd..000000000000 --- a/devel/fnccheck/files/patch-aa +++ /dev/null @@ -1,23 +0,0 @@ ---- Makefile.orig Wed Jan 17 12:48:32 2001 -+++ Makefile Mon Jan 22 17:34:43 2001 -@@ -2,10 +2,9 @@ - PACKAGE = fnccheck - VERSION = 1.1.4 - --prefix = /usr/local - bindir = $(prefix)/bin - libdir = $(prefix)/lib --docdir = $(prefix)/doc/$(PACKAGE)-$(VERSION) -+docdir = $(prefix)/doc/$(PACKAGE) - - INSTALL = install - -@@ -24,7 +23,7 @@ - echo "Use 'make install' to install the lib" ; \ - echo "Use 'make all' to generate everything" - --all: fnccheck fncdump fncaverage essai essai_interact -+all: fnccheck fncdump_nobfd fncaverage - - fnccheck: - -@ cd src/ ; make fnccheck diff --git a/devel/fnccheck/files/patch-ab b/devel/fnccheck/files/patch-ab deleted file mode 100644 index 337675563d22..000000000000 --- a/devel/fnccheck/files/patch-ab +++ /dev/null @@ -1,51 +0,0 @@ ---- src/Makefile.orig Tue Jan 9 12:09:48 2001 -+++ src/Makefile Mon Jan 22 17:05:13 2001 -@@ -1,10 +1,9 @@ --CC = gcc --CFLAGS = -Wall -O3 -I/usr/include -I/usr/local/include --LIBS = -L/lib -L/usr/lib -L/usr/local/lib -lm -+CC?= gcc - - .c.o: - $(CC) $(EXT) $(CFLAGS) $(INCLUDE) -c $< - -+LIBS=-lm - LIBFILE=fnccheck.c - LIBNAME=libfnccheck.so - DUMP=fncdump -@@ -14,28 +13,28 @@ - -@ echo "Please specify a target." - - fnccheck: -- $(CC) -Wall -O3 -c $(LIBFILE) -- $(CC) -Wall -O3 -fPIC -c $(LIBFILE) -o $(LIBNAME) -+ $(CC) $(CFLAGS) -c $(LIBFILE) -+ $(CC) $(CFLAGS) -fPIC -c $(LIBFILE) -o $(LIBNAME) - mv $(LIBNAME) ../lib/ - - dfnccheck: -- $(CC) -Wall -O3 -DFNCCHK_DEBUG -c $(LIBFILE) -- $(CC) -Wall -O3 -fPIC -DFNCCHK_DEBUG -c $(LIBFILE) -o $(LIBNAME) -+ $(CC) $(CFLAGS) -DFNCCHK_DEBUG -c $(LIBFILE) -+ $(CC) $(CFLAGS) -fPIC -DFNCCHK_DEBUG -c $(LIBFILE) -o $(LIBNAME) - mv $(LIBNAME) ../lib/ - - fncdump: - -@ export EXT=-DFNCCHK_USE_BFD ; make real_fncdump - - real_fncdump: fncdump.o -- $(CC) -O3 $(CFLAGS) $(INCLUDE) -o $(DUMP) fncdump.o $(LIBS) -lbfd -liberty -+ $(CC) $(CFLAGS) $(INCLUDE) -o $(DUMP) fncdump.o $(LIBS) -lbfd -liberty - mv $(DUMP) ../bin - - fncdump_nobfd: fncdump.o -- $(CC) -O3 $(CFLAGS) $(INCLUDE) -o $(DUMP) fncdump.o $(LIBS) -+ $(CC) $(CFLAGS) $(INCLUDE) -o $(DUMP) fncdump.o $(LIBS) - mv $(DUMP) ../bin - - fncaverage: fnccheck.o fncaverage.o -- $(CC) -O3 $(CFLAGS) $(INCLUDE) -o $(AVG) fncaverage.o fnccheck.o $(LIBS) -+ $(CC) $(CFLAGS) $(INCLUDE) -o $(AVG) fncaverage.o fnccheck.o $(LIBS) - mv $(AVG) ../bin - - clean: diff --git a/devel/fnccheck/files/patch-ac b/devel/fnccheck/files/patch-ac deleted file mode 100644 index d6e0a8c7a25c..000000000000 --- a/devel/fnccheck/files/patch-ac +++ /dev/null @@ -1,12 +0,0 @@ ---- test/Makefile.orig Mon Jan 22 17:06:25 2001 -+++ test/Makefile Mon Jan 22 17:06:52 2001 -@@ -1,6 +1,6 @@ --CC = gcc --CFLAGS = -Wall -I/usr/include -I/usr/local/include --LIBS = -L/lib -L/usr/lib -L/usr/local/lib -lm -+CC? = gcc -+CFLAGS+= -Wall -+LIBS = -lm - - .c.o: - $(CC) $(CFLAGS) $(INCLUDE) $(EXTS) -c $< diff --git a/devel/fnccheck/pkg-descr b/devel/fnccheck/pkg-descr index ad9223d22b67..71433e1dc7f2 100644 --- a/devel/fnccheck/pkg-descr +++ b/devel/fnccheck/pkg-descr @@ -4,4 +4,6 @@ time spend in functions, number of calls and other things. 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/ diff --git a/devel/fnccheck/pkg-plist b/devel/fnccheck/pkg-plist index a70a2c826f16..617281dd2666 100644 --- a/devel/fnccheck/pkg-plist +++ b/devel/fnccheck/pkg-plist @@ -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 |