1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/devel/lclint/files/patch-aa
David E. O'Brien ba8ea5d95e 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.

Check the LCLint home page at
        http://larch-www.lcs.mit.edu:8001/larch/lclint/

Closes-PR:	ports/1646
Submitted by:	Stefan Moeding <moeding@bn.DeTeMobil.de>
1996-12-11 22:51:22 +00:00

48 lines
1.4 KiB
Plaintext

--- Makefile.in.orig Wed Sep 4 20:18:10 1996
+++ Makefile.in Wed Dec 11 21:57:01 1996
@@ -40,16 +40,16 @@
###
### directory for lclint libraries
-LIBDIR = @installdir@/lib
+LIBDIR = @installdir@/share/lclint-2.2a/lib
### directory for lclint standard imports
-IMPORTSDIR = @installdir@/imports
+IMPORTSDIR = @installdir@/share/lclint-2.2a/imports
### directory for lclint binary
INSTALLDIR = @installdir@/bin
### directory for installing lclint.el[c]
-EMACSLIBDIR = @installdir@/emacs
+EMACSLIBDIR = @installdir@/share/emacs/site-lisp
### this should be the complete path for the directory where this
### Makefile is, with no trailing / or spaces.
@@ -232,6 +232,7 @@
@echo '// Installation complete.'
doemacs:
+ @mkdir -p $(EMACSLIBDIR)
@$(CP) $(LCLINTEMACS) $(EMACSLIBDIR)
@$(CP) $(LCLINTEMACSC) $(EMACSLIBDIR)
@@ -243,14 +244,14 @@
dolibraries:
@echo '// Installing libraries in '$(LIBDIR)
@echo " (This will complain if the directory already exists, don't worry about it.)"
- -mkdir $(LIBDIR)
+ mkdir -p $(LIBDIR)
$(CP) $(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)
+ mkdir -p $(IMPORTSDIR)
$(CP) $(LCLINTIMPORTS)/* $(IMPORTSDIR)
@echo '// Installed imports.'