ports/58218: Update port: devel/clint

KATO Tsuguru tkato at prontomail.com
Sat Oct 18 16:50:31 UTC 2003


>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++
++ at dircategory Programming & development tools
++ at direntry
++* Clint: (clint).		A static source code checker for C++
++ at end direntry
+ @finalout
+ @setchapternewpage odd
+ @c %**end of header
+@@ -94,7 +98,6 @@
+ professional experience.)
+ 
+ @node Copying, Overview, Instructions, Top
+- at 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
- at dirrm include/clint
- at unexec install-info --delete %D/info/clint.info %D/info/dir
-info/clint.info
- at 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
- at 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
+ at dirrm lib/clint
+ at dirrm include/clint
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list