Date: Sun, 19 Oct 2003 01:45:27 +0900 From: KATO Tsuguru <tkato@prontomail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/58218: Update port: devel/clint Message-ID: <20031019014527.415479dd.tkato@prontomail.com> Resent-Message-ID: <200310181650.h9IGoK0I093769@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 58218 >Category: ports >Synopsis: Update port: devel/clint >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: Sat Oct 18 09:50:20 PDT 2003 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.8-RELEASE-p13 i386 >Organization: >Environment: >Description: - Fix build on -current - Utilize INFO New file: files/patch-doc::clint.texi Remove file: files/patch-src::Makefile.in >How-To-Repeat: >Fix: diff -urN /usr/ports/devel/clint/Makefile devel/clint/Makefile --- /usr/ports/devel/clint/Makefile Thu Jun 5 09:49:00 2003 +++ devel/clint/Makefile Sat Oct 18 21:01:58 2003 @@ -17,21 +17,18 @@ COMMENT= A static source code checker for C++ USE_PYTHON= yes -USE_LIBTOOL= yes USE_REINPLACE= yes USE_GMAKE= yes +USE_LIBTOOL= yes +CONFIGURE_ENV= MAKEINFO="makeinfo --no-split" INSTALLS_SHLIB= yes -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 500113 -BROKEN= "Does not compile (bad C++ code)" -.endif +INFO= clint post-patch: - @${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure - -post-install: - @install-info ${PREFIX}/info/clint.info ${PREFIX}/info/dir + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure + @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ + 's|-pedantic||g ; \ + s|-ldl||g' -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff -urN /usr/ports/devel/clint/files/patch-doc::clint.texi devel/clint/files/patch-doc::clint.texi --- /usr/ports/devel/clint/files/patch-doc::clint.texi Thu Jan 1 09:00:00 1970 +++ devel/clint/files/patch-doc::clint.texi Sat Oct 18 21:02:53 2003 @@ -0,0 +1,21 @@ +--- doc/clint.texinfo.orig Tue Apr 17 04:52:44 2001 ++++ doc/clint.texinfo Sat Oct 18 21:02:43 2003 +@@ -2,6 +2,10 @@ + @c %**start of header + @setfilename clint.info + @settitle Clint is a static source code checker for C++ ++@dircategory Programming & development tools ++@direntry ++* Clint: (clint). A static source code checker for C++ ++@end direntry + @finalout + @setchapternewpage odd + @c %**end of header +@@ -94,7 +98,6 @@ + professional experience.) + + @node Copying, Overview, Instructions, Top +-@include gpl.texinfo + + @node Overview, Sample, Copying, Top + @chapter Overview diff -urN /usr/ports/devel/clint/files/patch-src::Makefile.in devel/clint/files/patch-src::Makefile.in --- /usr/ports/devel/clint/files/patch-src::Makefile.in Wed May 2 02:28:25 2001 +++ devel/clint/files/patch-src::Makefile.in Thu Jan 1 09:00:00 1970 @@ -1,11 +0,0 @@ ---- src/Makefile.in.orig Tue May 1 16:52:17 2001 -+++ src/Makefile.in Tue May 1 16:52:26 2001 -@@ -107,7 +107,7 @@ - - CXXFLAGS = -Wall -pedantic -ansi -W @CXXFLAGS@ -DPKGLIBDIR="\"$(pkglibdir)\"" - bin_PROGRAMS = clint --clint_LDFLAGS = -ldl -rdynamic -+clint_LDFLAGS = -rdynamic - subdir = src - mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs - CONFIG_HEADER = ../config.h diff -urN /usr/ports/devel/clint/pkg-plist devel/clint/pkg-plist --- /usr/ports/devel/clint/pkg-plist Fri Sep 20 19:33:21 2002 +++ devel/clint/pkg-plist Sat Oct 18 20:35:53 2003 @@ -1,17 +1,12 @@ bin/clint include/clint/exceptions.h include/clint/python.h -@dirrm include/clint -@unexec install-info --delete %D/info/clint.info %D/info/dir -info/clint.info -@exec install-info %D/info/clint.info %D/info/dir lib/clint/python.a lib/clint/python.so lib/clint/python.so.0 lib/libpython++.a lib/libpython++.so lib/libpython++.so.0 -@dirrm lib/clint share/clint/clint.py share/clint/python_rules/c_comments.py share/clint/python_rules/catch_exception.py @@ -22,3 +17,5 @@ share/clint/python_rules/shortcut_if.py @dirrm share/clint/python_rules @dirrm share/clint +@dirrm lib/clint +@dirrm include/clint >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031019014527.415479dd.tkato>