From b47702faafd12f7eea6c8430f3a8d733db519938 Mon Sep 17 00:00:00 2001 From: brad Date: Sun, 24 Mar 2002 23:07:24 +0000 Subject: [PATCH] really stub this out. --- devel/Makefile | 3 +- devel/lclint/Makefile | 14 +-- devel/lclint/distinfo | 6 - devel/lclint/patches/patch-aa | 79 ------------ devel/lclint/patches/patch-ab | 54 -------- devel/lclint/pkg/DESCR | 10 -- devel/lclint/pkg/PLIST | 223 ---------------------------------- 7 files changed, 4 insertions(+), 385 deletions(-) delete mode 100644 devel/lclint/distinfo delete mode 100644 devel/lclint/patches/patch-aa delete mode 100644 devel/lclint/patches/patch-ab delete mode 100644 devel/lclint/pkg/DESCR delete mode 100644 devel/lclint/pkg/PLIST diff --git a/devel/Makefile b/devel/Makefile index d1e883426a7..5294197fc33 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.124 2002/03/24 20:40:39 pvalchev Exp $ +# $OpenBSD: Makefile,v 1.125 2002/03/24 23:07:24 brad Exp $ # $FreeBSD: Makefile,v 1.85 1997/11/20 05:22:14 asami Exp $ SUBDIR += ElectricFence @@ -47,7 +47,6 @@ SUBDIR += jfc SUBDIR += kdbg SUBDIR += lam - SUBDIR += lclint SUBDIR += libaudiofile SUBDIR += libavl SUBDIR += libdockapp diff --git a/devel/lclint/Makefile b/devel/lclint/Makefile index 001f30e444a..9ab75e72f4b 100644 --- a/devel/lclint/Makefile +++ b/devel/lclint/Makefile @@ -1,19 +1,11 @@ -# $OpenBSD: Makefile,v 1.31 2002/03/21 20:46:25 espie Exp $ +# $OpenBSD: Makefile,v 1.32 2002/03/24 23:07:24 brad Exp $ COMMENT= "superseded by splint" -DISTNAME= lclint-2.5r +PKGNAME= lclint CATEGORIES= devel -NEED_VERSION= 1.515 -DISTFILES= +IGNORE= "superseded by splint" MAINTAINER= Marc Espie -PERMIT_PACKAGE_CDROM= Yes -PERMIT_PACKAGE_FTP= Yes -PERMIT_DISTFILES_CDROM= Yes -PERMIT_DISTFILES_FTP= Yes - -IGNORE= "superseded by splint" - .include diff --git a/devel/lclint/distinfo b/devel/lclint/distinfo deleted file mode 100644 index e4522d2f7bd..00000000000 --- a/devel/lclint/distinfo +++ /dev/null @@ -1,6 +0,0 @@ -MD5 (lclint/lclint-2.5r.src.tar.gz) = c656c33805f8f1002dd71fbe6e346179 -MD5 (lclint/lclint-guide.tar.gz) = 72ff5d63471f65f53427d6b7863363c4 -RMD160 (lclint/lclint-2.5r.src.tar.gz) = 54e118bc76295bc6f0879ba6c340d2c004ad5e45 -RMD160 (lclint/lclint-guide.tar.gz) = 3150f8e73a0931dd8a07417cca5f6c20dca06c95 -SHA1 (lclint/lclint-2.5r.src.tar.gz) = fecc7266604c38c33f519af4acdf160bfe5d8219 -SHA1 (lclint/lclint-guide.tar.gz) = 849ceed0bee0174ba63bdcce0a666be5c35899c0 diff --git a/devel/lclint/patches/patch-aa b/devel/lclint/patches/patch-aa deleted file mode 100644 index e2ffd2110d0..00000000000 --- a/devel/lclint/patches/patch-aa +++ /dev/null @@ -1,79 +0,0 @@ ---- Makefile.in.orig Thu Jul 27 04:19:17 2000 -+++ Makefile.in Fri Oct 5 02:06:21 2001 -@@ -37,10 +37,10 @@ SYSTEM_LIBDIR = "/usr/include" - ### - - ### directory for lclint libraries --LIBDIR = @installdir@/lib -+LIBDIR = @installdir@/share/lclint-2.5r/lib - - ### directory for lclint standard imports --IMPORTSDIR = @installdir@/imports -+IMPORTSDIR = @installdir@/share/lclint-2.5r/imports - - ### directory for lclint binary - INSTALLDIR = @installdir@/bin -@@ -87,9 +87,8 @@ SHELL = /bin/csh - ### make install - ### - --### installation command --INSTALL = @INSTALL@ --INSTALLFLAGS = -+INSTALL_PROGRAM = @INSTALL_PROGRAM@ -+INSTALL_DATA = @INSTALL_DATA@ - - ### this works with nfs, change to whatever is needed to make - ### a file executable on your system -@@ -111,7 +110,7 @@ CC = @CC@ @DEFS@ - ### optimizing compiler --- add optimization flags here - ### - --CCOPT = $(CC) @OPT@ -+CCOPT = $(CC) @CFLAGS@ - - ### - ### link flags --- this links the lex or flex library -@@ -160,6 +159,7 @@ ifeq ($(SHELL), /bin/csh) - setenv LINKFLAGS '$(LINKFLAGS)' ; \ - setenv DEFAULT_LARCHPATH '".:$(LIBDIR)"' ; \ - setenv DEFAULT_LCLIMPORTDIR '"$(IMPORTSDIR)"' ; \ -+ unsetenv CFLAGS;\ - $(MAKE) -e localconstants ; $(MAKE) -e - else - cd src ; CC='$(CC)'; export CC; CCOPT='$(CCOPT)'; \ -@@ -169,6 +169,7 @@ else - DEFAULT_LARCHPATH='".:$(LIBDIR)/"' ; export DEFAULT_LARCHPATH ;\ - LINKFLAGS='$(LINKFLAGS)'; export LINK_FLAGS; \ - DEFAULT_LCLIMPORTDIR='"$(IMPORTSDIR)"' ; export DEFAULT_LCLIMPORTDIR ;\ -+ unset CFLAGS;\ - $(MAKE) -e localconstants ; $(MAKE) -e - endif - @echo '// ' -@@ -221,21 +222,21 @@ install: - - dobinaries: - @echo '// Installing binaries in '$(INSTALLDIR) -- cd $(LCLINTBINDIR); $(INSTALL) $(INSTALLFLAGS) lclint $(INSTALLDIR) -+ cd $(LCLINTBINDIR); $(INSTALL_PROGRAM) lclint $(INSTALLDIR) - @echo '// Installed: lclint in '$(INSTALLDIR) - - dolibraries: - @echo '// Installing libraries in '$(LIBDIR) - @echo " (This will complain if the directory already exists, don't worry about it.)" -- -mkdir $(LIBDIR) -- $(CP) $(LCLINTLIB)/* $(LIBDIR) -+ -mkdir -p $(LIBDIR) -+ $(INSTALL_DATA) $(LCLINTLIB)/* $(LIBDIR) - @echo '// Installed libraries.' - - doimports: - @echo '// Installing imports in '$(IMPORTSDIR) - @echo " (This will complain if the directory already exists, don't worry about it.)" -- -mkdir $(IMPORTSDIR) -- $(CP) $(LCLINTIMPORTS)/* $(IMPORTSDIR) -+ -mkdir -p $(IMPORTSDIR) -+ $(INSTALL_DATA) $(LCLINTIMPORTS)/* $(IMPORTSDIR) - @echo '// Installed imports.' - - diff --git a/devel/lclint/patches/patch-ab b/devel/lclint/patches/patch-ab deleted file mode 100644 index 011b4fd0cdc..00000000000 --- a/devel/lclint/patches/patch-ab +++ /dev/null @@ -1,54 +0,0 @@ ---- src/Makefile.orig Thu Jul 27 04:18:46 2000 -+++ src/Makefile Tue Aug 1 16:54:36 2000 -@@ -60,7 +60,7 @@ all : dorelease - - quick: lclint - --lclint : $(OBJ) -+lclint : signature.c cgrammar.c llgrammar.c cscanner.c $(OBJ) - @echo '// ' - @echo '// Linking:' - @echo '// ' -@@ -75,7 +75,7 @@ lclint : $(OBJ) - ### this is probably NOT compatible with yacc. - ### - --signature.c : signature.c.der signature.y -+signature.c : signature.y - ifdef BISON - @$(BISON) $(YFLAGS) -p lsl signature.y - @$(CAT) bison.head signature.tab.c bison.reset > signature.c -@@ -85,7 +85,7 @@ else - $(CP) signature.c.der signature.c - endif - --cgrammar.c : cgrammar.c.der cgrammar.y -+cgrammar.c : cgrammar.y - ifdef BISON - $(BISON) $(YFLAGS) cgrammar.y - @echo '// Expect 119 shift/reduce conflicts and 114 reduce/reduce conflicts.' -@@ -94,13 +94,14 @@ ifdef BISON - @$(MV) Headers/cgrammar_tokens.h Headers/cgrammar_tokens.bak - @$(CAT) bison.head cgrammar.tab.h bison.reset > Headers/cgrammar_tokens.h - else -+cgrammar.c : cgrammar.c.der - $(CP) cgrammar.c.der cgrammar.c - endif - - ### llgrammar2.h is necessary so +singleinclude may be used - --llgrammar.c : llgrammar.c.der llgrammar.y - ifdef BISON -+llgrammar.c : llgrammar.y - $(BISON) $(YFLAGS) -p yl llgrammar.y - @echo '// Expect 2 shift/reduce conflicts.' - @$(CAT) bison.head llgrammar.tab.c bison.reset > llgrammar.c -@@ -112,7 +113,7 @@ else - $(CP) llgrammar.c.der llgrammar.c - endif - --cscanner.c : cscanner.c.der cscanner.l -+cscanner.c : cscanner.l - ifdef FLEX - $(FLEX) $(LFLAGS) cscanner.l - $(CAT) flex.head lex.yy.c flex.reset > cscanner.c diff --git a/devel/lclint/pkg/DESCR b/devel/lclint/pkg/DESCR deleted file mode 100644 index 0ae5e68f83b..00000000000 --- a/devel/lclint/pkg/DESCR +++ /dev/null @@ -1,10 +0,0 @@ -LCLint is a tool for statically checking C programs. With minimal -effort, LCLint can be used as a better lint. If additional effort is -invested adding annotations to programs, LCLint can perform stronger -checks than can be done by any standard lint. - -LCLint can detect lots of obscure errors that other lints can't find. -It takes some getting used to, and tends to output quite a large number -of warnings unless tuned for the current project. - -WWW: ${HOMEPAGE} diff --git a/devel/lclint/pkg/PLIST b/devel/lclint/pkg/PLIST deleted file mode 100644 index 66894582d02..00000000000 --- a/devel/lclint/pkg/PLIST +++ /dev/null @@ -1,223 +0,0 @@ -@comment $OpenBSD: PLIST,v 1.4 2001/10/05 00:20:00 espie Exp $ -bin/lclint -share/doc/lclint-2.5r/annotglobs.c -share/doc/lclint-2.5r/annotglobs.c.html -share/doc/lclint-2.5r/appA.html -share/doc/lclint-2.5r/appB.html -share/doc/lclint-2.5r/appC.html -share/doc/lclint-2.5r/appD.html -share/doc/lclint-2.5r/appE.html -share/doc/lclint-2.5r/appF.html -share/doc/lclint-2.5r/appG.html -share/doc/lclint-2.5r/appH.html -share/doc/lclint-2.5r/bool.c -share/doc/lclint-2.5r/bool.c.html -share/doc/lclint-2.5r/bool.h -share/doc/lclint-2.5r/bool.h.html -share/doc/lclint-2.5r/contents.html -share/doc/lclint-2.5r/employee.h -share/doc/lclint-2.5r/employee.h.html -share/doc/lclint-2.5r/exposure.c -share/doc/lclint-2.5r/exposure.c.html -share/doc/lclint-2.5r/fig10-out -share/doc/lclint-2.5r/fig10-out.html -share/doc/lclint-2.5r/fig10.html -share/doc/lclint-2.5r/fig11-out -share/doc/lclint-2.5r/fig11-out.html -share/doc/lclint-2.5r/fig11.html -share/doc/lclint-2.5r/fig12-out -share/doc/lclint-2.5r/fig12-out.html -share/doc/lclint-2.5r/fig12.html -share/doc/lclint-2.5r/fig13-out -share/doc/lclint-2.5r/fig13-out.html -share/doc/lclint-2.5r/fig13.html -share/doc/lclint-2.5r/fig14-out -share/doc/lclint-2.5r/fig14-out.html -share/doc/lclint-2.5r/fig14.html -share/doc/lclint-2.5r/fig15-out -share/doc/lclint-2.5r/fig15-out.html -share/doc/lclint-2.5r/fig15.html -share/doc/lclint-2.5r/fig16-out -share/doc/lclint-2.5r/fig16-out.html -share/doc/lclint-2.5r/fig16.html -share/doc/lclint-2.5r/fig17-out -share/doc/lclint-2.5r/fig17-out.html -share/doc/lclint-2.5r/fig17.html -share/doc/lclint-2.5r/fig18-out -share/doc/lclint-2.5r/fig18-out.html -share/doc/lclint-2.5r/fig18.html -share/doc/lclint-2.5r/fig19-out -share/doc/lclint-2.5r/fig19-out.html -share/doc/lclint-2.5r/fig19.html -share/doc/lclint-2.5r/fig2-out -share/doc/lclint-2.5r/fig2-out.html -share/doc/lclint-2.5r/fig2.html -share/doc/lclint-2.5r/fig20-out -share/doc/lclint-2.5r/fig20-out.html -share/doc/lclint-2.5r/fig20.html -share/doc/lclint-2.5r/fig21-out -share/doc/lclint-2.5r/fig21-out.html -share/doc/lclint-2.5r/fig21.html -share/doc/lclint-2.5r/fig22-out -share/doc/lclint-2.5r/fig22-out.html -share/doc/lclint-2.5r/fig22.html -share/doc/lclint-2.5r/fig23-out -share/doc/lclint-2.5r/fig23-out.html -share/doc/lclint-2.5r/fig23.html -share/doc/lclint-2.5r/fig3-out -share/doc/lclint-2.5r/fig3-out.html -share/doc/lclint-2.5r/fig3.html -share/doc/lclint-2.5r/fig4-out -share/doc/lclint-2.5r/fig4-out.html -share/doc/lclint-2.5r/fig4.html -share/doc/lclint-2.5r/fig5-out -share/doc/lclint-2.5r/fig5-out.html -share/doc/lclint-2.5r/fig5.html -share/doc/lclint-2.5r/fig6-out -share/doc/lclint-2.5r/fig6-out.html -share/doc/lclint-2.5r/fig6.html -share/doc/lclint-2.5r/fig7-out -share/doc/lclint-2.5r/fig7-out.html -share/doc/lclint-2.5r/fig7.html -share/doc/lclint-2.5r/fig8.html -share/doc/lclint-2.5r/fig9-out -share/doc/lclint-2.5r/fig9-out.html -share/doc/lclint-2.5r/fig9.html -share/doc/lclint-2.5r/figure-tail.html -share/doc/lclint-2.5r/figures.html -share/doc/lclint-2.5r/footer.html -share/doc/lclint-2.5r/globals.c -share/doc/lclint-2.5r/globals.c.html -share/doc/lclint-2.5r/guide.html -share/doc/lclint-2.5r/guide_fn.html -share/doc/lclint-2.5r/header.html -share/doc/lclint-2.5r/ignore.c -share/doc/lclint-2.5r/ignore.c.html -share/doc/lclint-2.5r/implicit.c -share/doc/lclint-2.5r/implicit.c.html -share/doc/lclint-2.5r/index-mirror.html -share/doc/lclint-2.5r/index.html -share/doc/lclint-2.5r/intSet.h -share/doc/lclint-2.5r/intSet.h.html -share/doc/lclint-2.5r/lclint-guide.css -share/doc/lclint-2.5r/lclint-logo1.gif -share/doc/lclint-2.5r/list.c -share/doc/lclint-2.5r/list.c.html -share/doc/lclint-2.5r/loop.c -share/doc/lclint-2.5r/loop.c.html -share/doc/lclint-2.5r/macros.c -share/doc/lclint-2.5r/macros.c.html -share/doc/lclint-2.5r/modify.c -share/doc/lclint-2.5r/modify.c.html -share/doc/lclint-2.5r/mstring.c -share/doc/lclint-2.5r/mstring.c.html -share/doc/lclint-2.5r/mstring.h -share/doc/lclint-2.5r/mstring.h.html -share/doc/lclint-2.5r/mstringnn.c -share/doc/lclint-2.5r/mstringnn.c.html -share/doc/lclint-2.5r/names.c -share/doc/lclint-2.5r/names.c.html -share/doc/lclint-2.5r/noeffect.c -share/doc/lclint-2.5r/noeffect.c.html -share/doc/lclint-2.5r/null.c -share/doc/lclint-2.5r/null.c.html -share/doc/lclint-2.5r/only.c -share/doc/lclint-2.5r/only.c.html -share/doc/lclint-2.5r/order.c -share/doc/lclint-2.5r/order.c.html -share/doc/lclint-2.5r/palindrome.c -share/doc/lclint-2.5r/palindrome.c.html -share/doc/lclint-2.5r/palindrome.h -share/doc/lclint-2.5r/palindrome.h.html -share/doc/lclint-2.5r/references.html -share/doc/lclint-2.5r/refs.c -share/doc/lclint-2.5r/refs.c.html -share/doc/lclint-2.5r/returned.c -share/doc/lclint-2.5r/returned.c.html -share/doc/lclint-2.5r/rgb.c -share/doc/lclint-2.5r/rgb.c.html -share/doc/lclint-2.5r/rstring.c -share/doc/lclint-2.5r/rstring.c.html -share/doc/lclint-2.5r/rstring.h -share/doc/lclint-2.5r/rstring.h.html -share/doc/lclint-2.5r/run.html -share/doc/lclint-2.5r/sample.c -share/doc/lclint-2.5r/sample.c.html -share/doc/lclint-2.5r/sec1.html -share/doc/lclint-2.5r/sec10.html -share/doc/lclint-2.5r/sec2.html -share/doc/lclint-2.5r/sec3.html -share/doc/lclint-2.5r/sec4.html -share/doc/lclint-2.5r/sec5.html -share/doc/lclint-2.5r/sec6.html -share/doc/lclint-2.5r/sec7.html -share/doc/lclint-2.5r/sec8.html -share/doc/lclint-2.5r/sec9.html -share/doc/lclint-2.5r/setname.c -share/doc/lclint-2.5r/setname.c.html -share/doc/lclint-2.5r/setname.h -share/doc/lclint-2.5r/setname.h.html -share/doc/lclint-2.5r/special.c -share/doc/lclint-2.5r/special.c.html -share/doc/lclint-2.5r/stack.c -share/doc/lclint-2.5r/stack.c.html -share/doc/lclint-2.5r/sumsquares.c -share/doc/lclint-2.5r/sumsquares.c.html -share/doc/lclint-2.5r/supplement.html -share/doc/lclint-2.5r/switch.c -share/doc/lclint-2.5r/switch.c.html -share/doc/lclint-2.5r/testpal.c -share/doc/lclint-2.5r/testpal.c.html -share/doc/lclint-2.5r/types.c -share/doc/lclint-2.5r/types.c.html -share/doc/lclint-2.5r/unique.c -share/doc/lclint-2.5r/unique.c.html -share/doc/lclint-2.5r/usedef.c -share/doc/lclint-2.5r/usedef.c.html -share/lclint-2.5r/imports/assert.lcl -share/lclint-2.5r/imports/assert.lcs -share/lclint-2.5r/imports/ctype.lcl -share/lclint-2.5r/imports/ctype.lcs -share/lclint-2.5r/imports/errno.lcl -share/lclint-2.5r/imports/errno.lcs -share/lclint-2.5r/imports/limits.lcl -share/lclint-2.5r/imports/limits.lcs -share/lclint-2.5r/imports/locale.lcl -share/lclint-2.5r/imports/locale.lcs -share/lclint-2.5r/imports/math.lcl -share/lclint-2.5r/imports/math.lcs -share/lclint-2.5r/imports/setjmp.lcl -share/lclint-2.5r/imports/setjmp.lcs -share/lclint-2.5r/imports/signal.lcl -share/lclint-2.5r/imports/signal.lcs -share/lclint-2.5r/imports/stdarg.lcl -share/lclint-2.5r/imports/stdarg.lcs -share/lclint-2.5r/imports/stdio.lcl -share/lclint-2.5r/imports/stdio.lcs -share/lclint-2.5r/imports/stdlib.lcl -share/lclint-2.5r/imports/stdlib.lcs -share/lclint-2.5r/imports/string.lcl -share/lclint-2.5r/imports/string.lcs -share/lclint-2.5r/imports/strings.lcl -share/lclint-2.5r/imports/strings.lcs -share/lclint-2.5r/imports/time.lcl -share/lclint-2.5r/imports/time.lcs -share/lclint-2.5r/lib/CTrait.syms -share/lclint-2.5r/lib/CTraitGen.lcl -share/lclint-2.5r/lib/Makefile -share/lclint-2.5r/lib/ansi.h -share/lclint-2.5r/lib/ansi.lcd -share/lclint-2.5r/lib/ansistrict.lcd -share/lclint-2.5r/lib/bool.h -share/lclint-2.5r/lib/lclinit.lci -share/lclint-2.5r/lib/lslinit.lsi -share/lclint-2.5r/lib/posix.h -share/lclint-2.5r/lib/posix.lcd -share/lclint-2.5r/lib/posixstrict.lcd -share/lclint-2.5r/lib/unix.h -share/lclint-2.5r/lib/unix.lcd -share/lclint-2.5r/lib/unixstrict.lcd -@dirrm share/lclint-2.5r/lib -@dirrm share/lclint-2.5r/imports -@dirrm share/lclint-2.5r -@dirrm share/doc/lclint-2.5r